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


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.

Reply via email to