Uploaded image for project: 'yangtools'
  1. yangtools
  2. YANGTOOLS-409

Yang-Data-Impl: write and then merge on same list in modification produces incorrect result

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Resolution: Done
    • None
    • None
    • None
    • None
    • Operating System: All
      Platform: All

    • 2690

    Description

      mapNodePath is path to some MapNode.

      fooMapNode contains one MapEntryNode child with value "foo".
      barMapNode contains one MapEntryNode child with value "bar".

      modificationTree.write(mapNodePath, fooMapNode);
      modificationTree.merge(mapNodePath, barMapNode);

      after commiting this modification to a tree and reading on mapNodePath, it contains only one MapEntryNode child with value "bar". Expected result would be for it to contain both "foo" and "bar" MapEntryNodes

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              jhajnar@cisco.com Jan Hajnar
              jhajnar@cisco.com Jan Hajnar
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: