[NETCONF-299] OrderedDepthAwareNormalizedNodeWriter does not write leaves in received order Created: 19/Oct/16 Updated: 15/Mar/19 Resolved: 15/Dec/16 |
|
| Status: | Resolved |
| Project: | netconf |
| Component/s: | restconf-nb |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | ||
| Reporter: | Ivan Hrasko | Assignee: | Jakub Toth |
| Resolution: | Cannot Reproduce | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Operating System: All |
||
| External issue ID: | 6990 |
| Description |
|
OrderedDepthAwareNormalizedNodeWriter#writeMapEntryNode writes children of node in random order. This behavior causes failures of ignored tests in https://git.opendaylight.org/gerrit/#/c/46601/17/restconf/sal-rest-connector/src/test/java/org/opendaylight/netconf/sal/rest/impl/DepthAwareNormalizedNodeWriterTest.java The same problem is expected in org.opendaylight.yangtools.yang.data.api.schema.stream.NormalizedNodeWriter.OrderedNormalizedNodeWriter in Yangtools which is used in Restconf's RestconfDelegatingNormalizedNodeWriter. |
| Comments |
| Comment by Jakub Toth [ 25/Oct/16 ] |
|
These tests in https://git.opendaylight.org/gerrit/#/c/46601/17/restconf/sal-rest-connector/src/test/java/org/opendaylight/netconf/sal/rest/impl/DepthAwareNormalizedNodeWriterTest.java are working for me. |