[
https://issues.apache.org/jira/browse/SLING-2093?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Eric Norman reopened SLING-2093:
--------------------------------
reopening due to a regression. After the changes from revision 1131069,
importing to the root node now throws a NPE.
Repro:
curl -F":operation=import" -F":contentType=json" -F":content={ 'sample' :
{'propOne' : 'propOneValue', 'childOne' : { 'childPropOne' : true } } }"
http://admin:admin@localhost:8080
> 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: Justin Edelson
> 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