You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Nitin Gupta (Jira)" <ji...@apache.org> on 2020/03/11 11:05:00 UTC
[jira] [Updated] (SLING-9195) Repoinit rep:restrictions gives error
in custom key value pairs
[ https://issues.apache.org/jira/browse/SLING-9195?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Nitin Gupta updated SLING-9195:
-------------------------------
Component/s: Repoinit
> Repoinit rep:restrictions gives error in custom key value pairs
> ---------------------------------------------------------------
>
> Key: SLING-9195
> URL: https://issues.apache.org/jira/browse/SLING-9195
> Project: Sling
> Issue Type: Bug
> Components: Repoinit
> Reporter: Nitin Gupta
> Priority: Major
>
> 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)