You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "A. J. David Bosschaert (Jira)" <ji...@apache.org> on 2021/02/08 17:36:02 UTC

[jira] [Closed] (SLING-9449) Repoinit AclUtil#setPrincipalAcl throws exception if no path-based entry exists for principal

     [ https://issues.apache.org/jira/browse/SLING-9449?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

A. J. David Bosschaert closed SLING-9449.
-----------------------------------------

> Repoinit AclUtil#setPrincipalAcl throws exception if no path-based entry exists for principal
> ---------------------------------------------------------------------------------------------
>
>                 Key: SLING-9449
>                 URL: https://issues.apache.org/jira/browse/SLING-9449
>             Project: Sling
>          Issue Type: Bug
>          Components: Repoinit
>    Affects Versions: Repoinit JCR 1.1.26
>            Reporter: Andrei Dulvac
>            Assignee: Andrei Dulvac
>            Priority: Critical
>             Fix For: Repoinit JCR 1.1.30
>
>
> The check at https://github.com/apache/sling-org-apache-sling-jcr-repoinit/blob/master/src/main/java/org/apache/sling/jcr/repoinit/impl/AclUtil.java#L191 is very aggressive and results in an error getting thrown, which potentially causes the repository service to not start up.
> It should be replaced with a log message.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)