[jira] [Commented] (SLING-2529) Add support for JCR Observation event types: NODE_MOVED and PERSIST

2014-02-06 Thread Felix Meschberger (JIRA)

[ 
https://issues.apache.org/jira/browse/SLING-2529?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=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)


[jira] [Commented] (SLING-2529) Add support for JCR Observation event types: NODE_MOVED and PERSIST

2014-02-06 Thread Mario Rodriguez Jaen (JIRA)

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

Mario Rodriguez Jaen commented on SLING-2529:
-

The change will also require to change the SlingConstants from API to reflect 
the new event MOVE. Let me know if that will be the case. I think it will be 
more clearer and will follow the [JCR 
spec|http://www.day.com/specs/jcr/2.0/12_Observation.html]. 

And yes, I will be more than happy to commit the patch. 

 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)


[jira] [Commented] (SLING-2529) Add support for JCR Observation event types: NODE_MOVED and PERSIST

2014-02-05 Thread Mario Rodriguez Jaen (JIRA)

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

Mario Rodriguez Jaen commented on SLING-2529:
-

Besides adding those two event types to the listener, is there something else 
to be done at the 'handler' side? I understand that the events should be send 
to the *EventAdmin* once they are set with their proper resourceType and 
superResType.

 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)


[jira] [Commented] (SLING-2529) Add support for JCR Observation event types: NODE_MOVED and PERSIST

2012-11-12 Thread Carsten Ziegeler (JIRA)

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

Carsten Ziegeler commented on SLING-2529:
-

Moving this to the next release

 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
 Fix For: JCR Resource 2.2.2


 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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira