Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-813

Removing a Node if the parent is not accessible

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.9
    • core, jcr
    • None

    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)

      Attachments

        Issue Links

          Activity

            People

              mduerig Michael Dürig
              angela Angela Schreiber
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: