Michael Dürig created OAK-621:
---------------------------------
Summary: Moving tree instance with status NEW changes its status
to EXISTING instead of DISCONNECTED
Key: OAK-621
URL: https://issues.apache.org/jira/browse/OAK-621
Project: Jackrabbit Oak
Issue Type: Bug
Components: core
Reporter: Michael Dürig
Further fall out from OAK-606:
{code}
Tree t = tree.addChild("new");
assertEquals(Status.NEW, t.getStatus());
root.move("/x", "/y/x");
assertEquals(Status.DISCONNECTED, t.getStatus());
{code}
The 2nd assertion fails.
--
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