You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Andrei Dulvac (Jira)" <ji...@apache.org> on 2020/05/13 15:12:00 UTC

[jira] [Resolved] (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 ]

Andrei Dulvac resolved SLING-9449.
----------------------------------
    Fix Version/s: Repoinit JCR 1.1.28
       Resolution: Fixed

> 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.28
>
>
> 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)