[
https://issues.apache.org/jira/browse/SLING-2093?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Carsten Ziegeler reopened SLING-2093:
-------------------------------------
Assignee: Carsten Ziegeler (was: Justin Edelson)
This change can cause a NPE:
java.lang.NullPointerException) java.lang.NullPointerException
at
org.apache.sling.jcr.resource.internal.JcrResourceResolver.map(JcrResourceResolver.java:647)
at
org.apache.sling.jcr.resource.internal.JcrResourceResolver.map(JcrResourceResolver.java:536)
> Reverse mapping with insufficient access rights truncates path
> --------------------------------------------------------------
>
> Key: SLING-2093
> URL: https://issues.apache.org/jira/browse/SLING-2093
> Project: Sling
> Issue Type: Bug
> Components: JCR
> Affects Versions: JCR Resource 2.0.10
> Reporter: Tobias Bocanegra
> Assignee: Carsten Ziegeler
> Fix For: JCR Resource 2.0.12
>
> Attachments: SLING-2093-test.patch, sling-2093-r1130338.patch,
> sling-2093-r113118.patch
>
>
> when a user has read access to a node but not it's parent nodes, the reverse
> mapping aborts during the alias resolution and leaves the path truncated.
> eg: map("/content/foo/bar") -> "/bar" (if user can't read /content/foo).
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira