[ 
https://issues.apache.org/jira/browse/OAK-606?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13577444#comment-13577444
 ] 

Marcel Reutegger commented on OAK-606:
--------------------------------------

The single-session case (at least those discussed in this issue) does not save 
any changes, which means there are no changes to persistent nodes. In addition, 
the identifier of {{foo}} does not change when the move is done by another 
session. In the single-session case, the identifier does change, because of 
[10.6.1|http://www.day.com/specs/jcr/2.0/10_Writing.html#10.6.1%20Referenceable%20vs%20Non-Referenceable%20Nodes],
 which means the node is then tied to a different persistent node.
                
> Node becomes invalid after Session#move()
> -----------------------------------------
>
>                 Key: OAK-606
>                 URL: https://issues.apache.org/jira/browse/OAK-606
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: jcr
>            Reporter: angela
>            Assignee: Michael Dürig
>         Attachments: OAK-606.patch
>
>
> moving or renaming an existing (saved) node renders that node instance
> invalid and any access on that node instance will throw IllegalStateException.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to