DescendantSelfAxisQuery may fail with IOException when session has limited
access
---------------------------------------------------------------------------------
Key: JCR-3001
URL: https://issues.apache.org/jira/browse/JCR-3001
Project: Jackrabbit Content Repository
Issue Type: Bug
Affects Versions: 2.2.0, 2.1.0, 2.0.0, 1.6.0, 1.5.0
Reporter: Marcel Reutegger
Assignee: Marcel Reutegger
Fix For: 2.2.8, 2.3.0
The DescendantSelfAxisQuery uses the current session to look up nodes by id.
When the session does not have access to a node the exception is incorrectly
re-thrown an IOException. Instead, any ItemNotFoundException should be caught
and ignored. This is probably a regression caused by JCR-1365 introduced with
Jackrabbit 1.5.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira