jackrabbit-oak-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Dürig (Created) (JIRA) <j...@apache.org>
Subject [jira] [Created] (OAK-43) Incomplete journal when move and copy operations are involved
Date Thu, 29 Mar 2012 21:03:35 GMT
Incomplete journal when move and copy operations are involved
-------------------------------------------------------------

                 Key: OAK-43
                 URL: https://issues.apache.org/jira/browse/OAK-43
             Project: Jackrabbit Oak
          Issue Type: Bug
          Components: mk
            Reporter: Michael Dürig


Given a node at /source:

{code}
head = mk.commit("/",
    ">\"source\" : \"moved\"" +
    "*\"moved\" : \"copy\"",
    head, "");
{code}

results in the following journal:

{code}
>"/source":"/copy"
{code}

where the freshly created node at /moved is missing.

Similarly 

{code}
head = mk.commit("/",
    "*\"source\" : \"copy\"" +
    ">\"copy\" : \"moved\"",
    head, "");
{code}

results in

{code}
+"/moved":{}
{code}

where moved away node at /source is missing.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

Mime
View raw message