[YANGTOOLS-409] Yang-Data-Impl: write and then merge on same list in modification produces incorrect result Created: 09/Feb/15 Updated: 10/Apr/22 Resolved: 07/May/15 |
|
| Status: | Resolved |
| Project: | yangtools |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | ||
| Reporter: | Jan Hajnar | Assignee: | Jan Hajnar |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Operating System: All |
||
| Issue Links: |
|
||||||||
| External issue ID: | 2690 | ||||||||
| Description |
|
mapNodePath is path to some MapNode. fooMapNode contains one MapEntryNode child with value "foo". modificationTree.write(mapNodePath, fooMapNode); 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 |
| Comments |
| Comment by Jan Hajnar [ 18/Mar/15 ] |
|
This issue can be verified with this test: |
| Comment by Jan Hajnar [ 29/Apr/15 ] |