[ https://issues.apache.org/jira/browse/SLING-9195?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Bertrand Delacretaz updated SLING-9195: --------------------------------------- Summary: Sling Repoinit ClassCastException with some rep:restrictions statements (was: Repoinit rep:restrictions gives error in some cases) > Sling Repoinit ClassCastException with some rep:restrictions statements > ----------------------------------------------------------------------- > > Key: SLING-9195 > URL: https://issues.apache.org/jira/browse/SLING-9195 > Project: Sling > Issue Type: Bug > Components: Repoinit > Reporter: Nitin Gupta > Assignee: Bertrand Delacretaz > Priority: Major > Fix For: Repoinit JCR 1.1.22 > > Time Spent: 1h 20m > Remaining Estimate: 0h > > java.lang.RuntimeException: Failed to set ACL (java.lang.ClassCastException: > class org.apache.jackrabbit.oak.plugins.value.jcr.ValueImpl cannot be cast to > class java.lang.Comparable > (org.apache.jackrabbit.oak.plugins.value.jcr.ValueImpl is in unnamed module > of loader org.apache.felix.framework.BundleWiringImpl$BundleClassLoader > @5c920510; java.lang.Comparable is in module java.base of loader > 'bootstrap')) AclLine DENY \{principals=[everyone], > privileges=[jcr:modifyProperties]} restrictions=[rep:glob=[/*], > rep:itemNames=[fd:trusted], fd:condition=[fd:trusted, true]] > at > org.apache.sling.jcr.repoinit.impl.AclVisitor.setAcl(AclVisitor.java:64) > [org.apache.sling.jcr.repoinit:1.1.20] > at > org.apache.sling.jcr.repoinit.impl.AclVisitor.visitSetAclPaths(AclVisitor.java:98) > [org.apache.sling.jcr.repoinit:1.1.20] -- This message was sent by Atlassian Jira (v8.3.4#803005)