You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "angela (JIRA)" <ji...@apache.org> on 2013/07/25 18:43:49 UTC

[jira] [Resolved] (OAK-214) PropertyImpl#getParent violates JCR API

     [ https://issues.apache.org/jira/browse/OAK-214?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

angela resolved OAK-214.
------------------------

    Resolution: Fixed

IMHO this has been solved in the mean time.
Committed revision 1507058: added test case.
                
> 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
For more information on JIRA, see: http://www.atlassian.com/software/jira