jackrabbit-oak-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "angela (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (OAK-813) Removing a Node if the parent is not accessible
Date Wed, 08 May 2013 09:39:15 GMT

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

angela updated OAK-813:
-----------------------

    Description: 
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)



  was:
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).

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

Mime
View raw message