[
https://issues.apache.org/jira/browse/OAK-1040?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Christan Keller updated OAK-1040:
---------------------------------
Description:
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}
was:
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}
> 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)) {
> 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