You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Marcel Reutegger (JIRA)" <ji...@apache.org> on 2011/06/22 09:58:48 UTC

[jira] [Created] (JCR-3001) DescendantSelfAxisQuery may fail with IOException when session has limited access

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

        

[jira] [Resolved] (JCR-3001) DescendantSelfAxisQuery may fail with IOException when session has limited access

Posted by "Alex Parvulescu (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/JCR-3001?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alex Parvulescu resolved JCR-3001.
----------------------------------

    Resolution: Fixed

Fixed
 - on trunk in revision 1139224
 - on 2.2 branch in revision 1139225

> 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: 1.5.0, 1.6.0, 2.0.0, 2.1.0, 2.2.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

        

[jira] [Updated] (JCR-3001) DescendantSelfAxisQuery may fail with IOException when session has limited access

Posted by "Jukka Zitting (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/JCR-3001?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jukka Zitting updated JCR-3001:
-------------------------------

    Fix Version/s:     (was: 2.3.0)

> 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: 1.5.0, 1.6.0, 2.0.0, 2.1.0, 2.2.0
>            Reporter: Marcel Reutegger
>            Assignee: Marcel Reutegger
>             Fix For: 2.2.8
>
>
> 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