[ https://issues.apache.org/jira/browse/OAK-531?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alex Parvulescu updated OAK-531: -------------------------------- Attachment: OAK-531.patch Attaching failing test case. The code is based on the Property2Index code. > 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 > Attachments: OAK-531.patch > > > 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