jackrabbit-oak-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Dürig (JIRA) <j...@apache.org>
Subject [jira] [Commented] (OAK-1090) Event-listener not notified on Node.orderBefore
Date Tue, 05 Nov 2013 16:30:17 GMT

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

Michael Dürig commented on OAK-1090:
------------------------------------

At http://svn.apache.org/r1539044 I added an initial implementation and a basic test case
for this: 
- {{Node.orderBefore()}} will result in {{NODE_MOVED}} events. 
- Removing a node and adding a node with the same name will also be reported as a {{NODE_MOVED}}
event as if it where caused by {{Node.orderBefore()}}.
- The exact sequence of {{Node.orderBefore()}} will not be reflected through the events. Given
two child nodes {{a}} and {{b}}, ordering {{a}} after {{b}} may be reported as ordering {{b}}
before {{a}}.

> Event-listener not notified on Node.orderBefore 
> ------------------------------------------------
>
>                 Key: OAK-1090
>                 URL: https://issues.apache.org/jira/browse/OAK-1090
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: core, jcr
>    Affects Versions: 0.9
>            Reporter: Christan Keller
>             Fix For: 0.11
>
>         Attachments: Issue.java
>
>
> An eventlistener that registered on modificaitons in a branch, doesn't get notified if
a Noder.orderBefore happend.
> This is irespective of the Event types or filteres that are applied upon event-listener
registration.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message