[
https://issues.apache.org/jira/browse/SLING-8761?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Nicolas Peltier resolved SLING-8761.
------------------------------------
Fix Version/s: JCR Resource 3.0.20
Assignee: Nicolas Peltier
Resolution: Fixed
> 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
> Assignee: Nicolas Peltier
> Priority: Major
> Fix For: JCR Resource 3.0.20
>
> Time Spent: 3h 10m
> Remaining Estimate: 0h
>
> 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)