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 "Stefan Egli (JIRA)" <ji...@apache.org> on 2017/02/09 16:28:41 UTC

[jira] [Comment Edited] (OAK-5619) withIncludeAncestorsRemove reports unrelated top-level node deletion

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

Stefan Egli edited comment on OAK-5619 at 2/9/17 4:28 PM:
----------------------------------------------------------

Added a test case to trunk (currently disabled) with which this can be reproduced: http://svn.apache.org/viewvc?rev=1782304&view=rev
EDIT: extended the test case to cover more different cases: http://svn.apache.org/viewvc?rev=1782350&view=rev


was (Author: egli):
Added a test case to trunk (currently disabled) with which this can be reproduced: http://svn.apache.org/viewvc?rev=1782304&view=rev

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