This is an automated email from the ASF dual-hosted git repository.

rombert pushed a commit to branch master
in repository 
https://gitbox.apache.org/repos/asf/sling-org-apache-sling-validation-test-services.git

commit 09ac45ba12043f7375d927b52d5f3f503c3e570b
Author: Konrad Windszus <k...@apache.org>
AuthorDate: Wed Jul 29 07:22:46 2015 +0000

    SLING-4876 support resource type inheritance for validator models
    
    This closes #100
    
    git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1693191 
13f79535-47bb-0310-9956-ffa450edef68
---
 .../apache/sling/validation/testservices/ValidationPostOperation.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/src/main/java/org/apache/sling/validation/testservices/ValidationPostOperation.java
 
b/src/main/java/org/apache/sling/validation/testservices/ValidationPostOperation.java
index 2866318..84faec2 100644
--- 
a/src/main/java/org/apache/sling/validation/testservices/ValidationPostOperation.java
+++ 
b/src/main/java/org/apache/sling/validation/testservices/ValidationPostOperation.java
@@ -64,7 +64,7 @@ public class ValidationPostOperation extends 
AbstractPostOperation {
             }
             if (resourceType != null && !"".equals(resourceType)) {
                 String resourcePath = 
request.getRequestPathInfo().getResourcePath();
-                ValidationModel vm = 
validationService.getValidationModel(resourceType, resourcePath);
+                ValidationModel vm = 
validationService.getValidationModel(resourceType, resourcePath, false);
                 if (vm != null) {
                     ValidationResult vr = 
validationService.validate(requestParameters, vm);
                     vpr.setValidationResult(vr);

-- 
To stop receiving notification emails like this one, please contact
"commits@sling.apache.org" <commits@sling.apache.org>.

Reply via email to