[ 
https://issues.apache.org/jira/browse/OAK-5619?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15859414#comment-15859414
 ] 

Stefan Egli commented on OAK-5619:
----------------------------------

note that this doesn't affect any unrelated node but only sharing one of the 
ancestors' parent - including {{/}} - ie if you have a listener on {{/a/b/c/d}} 
then the deletion of {{/unrelated}} is reported, as well as the deletion of 
{{/a/b/unrelated}}.

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

Reply via email to