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/05/08 11:39:15 UTC
[jira] [Updated] (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 ]
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