[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
Platform: 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.

Generated at Wed Feb 07 20:14:40 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.