[
https://issues.apache.org/jira/browse/JCR-4037?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Stefan Egli resolved JCR-4037.
------------------------------
Resolution: Duplicate
JCR-4045 is an inverse approach which suggests to introduce
{{includeAncestors}} (which is kind of the opposite of {{isDeep}}) which sounds
a better way of solving this issue, hence closing this one.
> 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)