You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Michael Dürig (JIRA)" <ji...@apache.org> on 2013/11/05 17:30:17 UTC
[jira] [Commented] (OAK-1090) Event-listener not notified on
Node.orderBefore
[ 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)