Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-79

Copy operation misses some child nodes

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.1
    • 0.3
    • mk
    • None

    Description

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

      results in

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

      instead of

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

      Attachments

        Activity

          People

            stefan@jira Stefan Guggisberg
            mduerig Michael Dürig
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: