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

Felix Meschberger commented on SLING-2529:
------------------------------------------

[~sparktronics] The problem with the MOVE event is, that in Jackrabbit it 
actually is accompanied with a NODE_REMOVED and NODE_ADDED event (for backwards 
compatibility IIRC with applications written before NODE_MOVED was added). So 
support for NODE_MOVED would also have to remove and not forward these 
"synthetic" NODE_REMOVED and NODE_ADDED events (IMHO).

IIRC apart from also adding test cases that's about all needs to be done.

Are you going to provide a patch ? That would be great :-)

> Add support for JCR Observation event types: NODE_MOVED and PERSIST
> -------------------------------------------------------------------
>
>                 Key: SLING-2529
>                 URL: https://issues.apache.org/jira/browse/SLING-2529
>             Project: Sling
>          Issue Type: Improvement
>          Components: JCR
>    Affects Versions: JCR Resource 2.1.0
>            Reporter: Felix Meschberger
>            Assignee: Felix Meschberger
>
> The JcrResourceListener does not currently support two event types added in 
> the JCR 2.0 specification:
>   * NODE_MOVED
>   * PERSIST
> Particularly NODE_MOVED is an important event which we should support with a 
> properly mapped OSGi event.
> The PERSIST event might be useful in creating event group boundaries.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to