You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Marcel Reutegger (JIRA)" <ji...@apache.org> on 2008/09/02 12:02:44 UTC

[jira] Resolved: (JCR-1728) Observation logs error when a node is moved in place

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

Marcel Reutegger resolved JCR-1728.
-----------------------------------

       Resolution: Fixed
    Fix Version/s: 1.5

Fixed in revision: 691181

> 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: 1.5
>
>
> 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.