[
https://issues.apache.org/jira/browse/SLING-8535?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Karl Pauls closed SLING-8535.
-----------------------------
> RepoInit register privilege fails if privilege already exists
> -------------------------------------------------------------
>
> Key: SLING-8535
> URL: https://issues.apache.org/jira/browse/SLING-8535
> Project: Sling
> Issue Type: Bug
> Components: Repoinit
> Affects Versions: Repoinit JCR 1.1.10
> Reporter: Karl Pauls
> Assignee: Karl Pauls
> Priority: Major
> Fix For: Repoinit JCR 1.1.12
>
>
> The PrivilegeVisitor does assume that a registerPriv does work if the priv is
> already defined. That is wrong as at least currently, it throws an
> implementation specific exception. We need to check if the priv exists first
> as a consequence as repoinit needs to be idempotent.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)