You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by ro...@apache.org on 2017/10/20 14:40:17 UTC

[sling-org-apache-sling-validation-test-services] 18/34: SLING-6578 use dedicated service property "validator.id" for referencing the validator from models

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 3d5a8f655307f90316e971500b8d0d4514ef01a3
Author: Konrad Windszus <kw...@apache.org>
AuthorDate: Thu Mar 2 07:14:34 2017 +0000

    SLING-6578 use dedicated service property "validator.id" for referencing the validator from models
    
    git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1785073 13f79535-47bb-0310-9956-ffa450edef68
---
 .../resources/SLING-CONTENT/apps/sling/validation/models/model1.json    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/main/resources/SLING-CONTENT/apps/sling/validation/models/model1.json b/src/main/resources/SLING-CONTENT/apps/sling/validation/models/model1.json
index c7a70be..008025c 100644
--- a/src/main/resources/SLING-CONTENT/apps/sling/validation/models/model1.json
+++ b/src/main/resources/SLING-CONTENT/apps/sling/validation/models/model1.json
@@ -11,7 +11,7 @@
             "propertyType": "string",
             "validators": {
                 "jcr:primaryType" : "nt:unstructured",
-                "org.apache.sling.validation.impl.validators.RegexValidator": {
+                "org.apache.sling.validation.core.RegexValidator": {
                     "jcr:primaryType" : "nt:unstructured",
                     "validatorArguments" : ["regex=^\\\p{Upper}+$"],
                     "severity" : "10"

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