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 "Michael Dürig (JIRA)" <ji...@apache.org> on 2013/05/23 16:53:20 UTC

[jira] [Resolved] (OAK-813) Removing a Node if the parent is not accessible

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

Michael Dürig resolved OAK-813.
-------------------------------

       Resolution: Fixed
    Fix Version/s: 0.9
         Assignee: Michael Dürig

Fixed at revision 1485747
                
> Removing a Node if the parent is not accessible
> -----------------------------------------------
>
>                 Key: OAK-813
>                 URL: https://issues.apache.org/jira/browse/OAK-813
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: core, jcr
>            Reporter: angela
>            Assignee: Michael Dürig
>             Fix For: 0.9
>
>
> currently it's not possible to call Node#remove on a existing, readable node if the
> parent is not accessible (even if the editing session had sufficient permission to remove the node).
> there exception i got in the test was:
> java.lang.IllegalStateException: This builder does not exist: node1
> 	at org.apache.jackrabbit.oak.plugins.memory.MemoryNodeBuilder.write(MemoryNodeBuilder.java:175)
> 	at org.apache.jackrabbit.oak.plugins.memory.MemoryNodeBuilder.removeChildNode(MemoryNodeBuilder.java:294)
> 	at org.apache.jackrabbit.oak.core.TreeImpl.remove(TreeImpl.java:243)
> 	at org.apache.jackrabbit.oak.jcr.delegate.NodeDelegate.remove(NodeDelegate.java:467)

--
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