[
https://issues.apache.org/jira/browse/OAK-606?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13577418#comment-13577418
]
Jukka Zitting commented on OAK-606:
-----------------------------------
bq. Based on 'Persisting by Identifier' (10.11.4), I'd say sessionB overwrites
the persistent node with identifier '/foo' when it adds a new 'foo' node. This
change is then reflected in foo on sessionA.refresh().
Why wouldn't this same reasoning apply to the single-session case? The exact
same thing, "overwrites persistent node with identifier '/foo'", happens also
in there.
> 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