jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jukka Zitting (JIRA)" <j...@apache.org>
Subject [jira] Updated: (JCR-1728) Observation logs error when a node is moved in place
Date Tue, 16 Sep 2008 16:40:44 GMT

     [ https://issues.apache.org/jira/browse/JCR-1728?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Jukka Zitting updated JCR-1728:

Merged to the 1.4 branch in revision 695972.

> Observation logs error when a node is moved in place
> ----------------------------------------------------
>                 Key: JCR-1728
>                 URL: https://issues.apache.org/jira/browse/JCR-1728
>             Project: Jackrabbit
>          Issue Type: Bug
>          Components: jackrabbit-core
>    Affects Versions: 1.4
>            Reporter: Marcel Reutegger
>            Priority: Minor
>             Fix For: core 1.4.6
> An error message is written to the log when the following sequence of operations is executed:
> - create node 'parent'
> - create node 'child' as a child of 'parent'
> - save
> - create node 'tmp'
> - move 'child' under 'tmp'
> - remove 'parent'
> - move 'tmp' to former path of 'parent'
> The log will say: EventStateCollection: Unable to calculate old path of moved node
> This is because the zombie path of 'child' is equal to the new path after the move. The
EventStateCollection detects a new parentId assigned to 'child' and expects a new path that
is different from the zombie path. The above case however shows that there is a use case where
the paths are equal and events should be generated.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message