[
https://issues.apache.org/jira/browse/OAK-1040?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Michael Dürig resolved OAK-1040.
--------------------------------
Resolution: Fixed
Fix Version/s: 0.10
Assignee: Michael Dürig
Good catch, thanks Chris!.
Fixed at http://svn.apache.org/r1526845. Updated {{MoveTest}} to catch this.
> after a non-committed session.move, the session.nodeExists() and getNode()
> are not symmetric
> --------------------------------------------------------------------------------------------
>
> Key: OAK-1040
> URL: https://issues.apache.org/jira/browse/OAK-1040
> Project: Jackrabbit Oak
> Issue Type: Bug
> Components: core, jcr
> Affects Versions: 0.9
> Reporter: Christan Keller
> Assignee: Michael Dürig
> Fix For: 0.10
>
>
> After a move of a Node from path /a to /b, that is not commited,
> session.nodeExists(/a) is true (OAK-1039) the successive call to
> session.getNode(/a) throws PathNotFoundException
> {code}
> session.move(source, destination)
> if (session.nodeExists(source)) {
> session.getNode(source) <= PathNotFoundException
> }
> {code}
--
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