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 10:36:44 UTC

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

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.


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

Posted by "Marcel Reutegger (JIRA)" <ji...@apache.org>.
     [ 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.


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

Posted by "Jukka Zitting (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/JCR-1728?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jukka Zitting updated JCR-1728:
-------------------------------

    Fix Version/s:     (was: 1.5)
                   core 1.4.6

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


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

Posted by "Jukka Zitting (JIRA)" <ji...@apache.org>.
     [ 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.