Michael Dürig created OAK-79:
--------------------------------

             Summary: Copy operation misses some child nodes
                 Key: OAK-79
                 URL: https://issues.apache.org/jira/browse/OAK-79
             Project: Jackrabbit Oak
          Issue Type: Bug
          Components: mk
    Affects Versions: 0.1
            Reporter: Michael Dürig


{code}  
microKernel.commit("/", "+\"y\":{}+\"x\":{}", null, null);
microKernel.commit("/", "+\"x/miss-me\":{} *\"x\":\"y/copy-of-x\"", null, null);
{code}

results in

{code}
{
    ":childNodeCount": 2,
    "y": {
        ":childNodeCount": 1,
        "copy-of-x": {
            ":childNodeCount": 0
        }
    },
    "x": {
        ":childNodeCount": 1,
        "miss-me": {
            ":childNodeCount": 0
        }
    }
}
{code}

instead of

{code}
{
    ":childNodeCount": 2,
    "y": {
        ":childNodeCount": 1,
        "copy-of-x": {
            ":childNodeCount": 1,
            "miss-me": {
                ":childNodeCount": 0
            }
        }
    },
    "x": {
        ":childNodeCount": 1,
        "miss-me": {
            ":childNodeCount": 0
        }
    }
}
{code}

--
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


Reply via email to