Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-9449

Repoinit AclUtil#setPrincipalAcl throws exception if no path-based entry exists for principal

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • Repoinit JCR 1.1.26
    • Repoinit JCR 1.1.30
    • Repoinit
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              andrei.dulvac Andrei Dulvac
              andrei.dulvac Andrei Dulvac
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: