[
https://issues.apache.org/jira/browse/OAK-5619?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Stefan Egli updated OAK-5619:
-----------------------------
Attachment: OAK-5619.patch2
Attached [^OAK-5619.patch2] which is the same as the previous patch but adds
one more testcase plus adds some clarification to a javadoc
> withIncludeAncestorsRemove reports unrelated top-level node deletion
> --------------------------------------------------------------------
>
> Key: OAK-5619
> URL: https://issues.apache.org/jira/browse/OAK-5619
> Project: Jackrabbit Oak
> Issue Type: Bug
> Components: jcr
> Affects Versions: 1.6.0
> Reporter: Stefan Egli
> Assignee: Stefan Egli
> Priority: Critical
> Fix For: 1.6.1
>
> Attachments: OAK-5619.patch, OAK-5619.patch2
>
>
> withIncludeAncestorsRemove includes deletion of all parents of the registered
> paths. When registering an include path {{/a/b/c}} this thus triggers an
> event if {{/a}} is deleted. When registering an include glob path {{**/foo}}
> then any parent path deletion will be reported.
> There is a bug currently whereas an include path {{/a/b/c}} results in any
> parent deletion to be reported. This likely stems from the fact that for glob
> paths any parent path deletion will be reported.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)