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 "Alex Parvulescu (JIRA)" <ji...@apache.org> on 2012/12/17 19:16:13 UTC

[jira] [Created] (OAK-531) NodeBuilder deleted child nodes can come back

Alex Parvulescu created OAK-531:
-----------------------------------

             Summary: NodeBuilder deleted child nodes can come back
                 Key: OAK-531
                 URL: https://issues.apache.org/jira/browse/OAK-531
             Project: Jackrabbit Oak
          Issue Type: Bug
          Components: core
            Reporter: Alex Parvulescu


While working on OAK-520, I've noticed a problem with the NodeBuilder: when we delete an entire hierarchy of nodes and then recreate a part of it, some of the previously deleted nodes can come back.

This only happens when there are more than 3 levels of nodes.

So given a hierarchy of nodes: /x/y/z deleted 'x' and simply use the NodeBuilder to traverse down on the same path: .child('x').child('y').
At this point the 'z' child reappears even though it was deleted before.


I'll attach a test case shortly.

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