You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Christan Keller (JIRA)" <ji...@apache.org> on 2013/09/25 13:08:11 UTC

[jira] [Created] (OAK-1040) after a non-commited session.move, the session.nodeExists() and getNode() are not symmetric

Christan Keller created OAK-1040:
------------------------------------

             Summary: after a non-commited 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


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)) {
    sessionn.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