Nicolas Peltier created SLING-8761:
--------------------------------------
Summary: Resource.getParent() should not generate silent
AccessDeniedException
Key: SLING-8761
URL: https://issues.apache.org/jira/browse/SLING-8761
Project: Sling
Issue Type: Improvement
Components: JCR
Affects Versions: JCR Resource 3.0.18
Reporter: Nicolas Peltier
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
--
This message was sent by Atlassian Jira
(v8.3.4#803005)