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

Resource.getParent() should not generate silent AccessDeniedException

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • JCR Resource 3.0.18
    • JCR Resource 3.0.20
    • JCR
    • None

    Description

      caconfig lookup with no config generates AccessDeniedException, which can be a lot
      Resource.getParent() API does not feel like it could cost performances. We should use things like getItemOrNull to fetch the parent.
      https://lists.apache.org/thread.html/0b4186ea012741418b1bcccd6bdad7131bbd83a9b70a0c684ca4ed6b@%3Cdev.sling.apache.org%3E

      Attachments

        Issue Links

          Activity

            People

              npeltier Nicolas Peltier
              npeltier Nicolas Peltier
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 3h 20m
                  3h 20m