jackrabbit-oak-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Dürig (JIRA) <j...@apache.org>
Subject [jira] [Created] (OAK-79) Copy operation misses some child nodes
Date Wed, 02 May 2012 07:45:05 GMT
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

       

Mime
View raw message