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 "Michael Dürig (JIRA)" <ji...@apache.org> on 2013/02/13 15:52:13 UTC
[jira] [Commented] (OAK-621) Moving tree instance with status NEW
changes its status to EXISTING instead of DISCONNECTED
[ https://issues.apache.org/jira/browse/OAK-621?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13577607#comment-13577607 ]
Michael Dürig commented on OAK-621:
-----------------------------------
Test case at revision 1445636
> 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