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

Stefan Egli commented on JCR-4037:
----------------------------------

Note that the default for this should be false in oak, as that's how it behaves 
currently.

> add includeSubtreeOnDelete flag to JackrabbitEventFilter
> --------------------------------------------------------
>
>                 Key: JCR-4037
>                 URL: https://issues.apache.org/jira/browse/JCR-4037
>             Project: Jackrabbit Content Repository
>          Issue Type: Improvement
>          Components: observation
>    Affects Versions: 2.13.3
>            Reporter: Stefan Egli
>
> In some cases of observation it would be useful to receive events of child 
> node or properties of a parent/grandparent that was deleted. Currently (in 
> Oak at least) one only receives a deleted event for the node that was deleted 
> and none of the children.
> Suggesting to (re)introduce a flag, eg as follows to the 
> JackrabbitEventFilter:
> {code}
> boolean includeSubtreeOnDelete;
> {code}
> (Open for any better name of course)
> /cc [~mduerig], [~mreutegg]



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to