commit | 09ac45ba12043f7375d927b52d5f3f503c3e570b | [log] [tgz] |
---|---|---|
author | Konrad Windszus <kwin@apache.org> | Wed Jul 29 07:22:46 2015 +0000 |
committer | Konrad Windszus <kwin@apache.org> | Wed Jul 29 07:22:46 2015 +0000 |
tree | cd6cf17f79d9b6980eeaf7cb0495e9d6e21a1461 | |
parent | 494d109101d67cb9f99c2a1656f522410266a87b [diff] |
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
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 @@ } 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);