jackrabbit-oak-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "angela (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (OAK-214) PropertyImpl#getParent violates JCR API
Date Tue, 31 Jul 2012 14:11:34 GMT

    [ https://issues.apache.org/jira/browse/OAK-214?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13425786#comment-13425786
] 

angela commented on OAK-214:
----------------------------

initial fix for PropertyImpl#getParent in revision: 1367559.
leaving issue open as the additional work is required on PropertyDelegate in order
to prevent InvalidItemStateException if the parent is not accessible.

                
> PropertyImpl#getParent violates JCR API
> ---------------------------------------
>
>                 Key: OAK-214
>                 URL: https://issues.apache.org/jira/browse/OAK-214
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: jcr
>            Reporter: angela
>
> Item#getParent mandates that an AccessDeniedException is thrown if the
> parent of an item is not accessible.
> however, the implementation in this case throws an InvalidItemStateException("Property
is stale") and PropertyDelegate#getParent marks the return value as @Nonnull.
> most probably that needs some additional fixed down the line and isn't as
> trivial to fix as oak-213

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message