Uploaded image for project: 'netconf'
  1. netconf
  2. NETCONF-299

OrderedDepthAwareNormalizedNodeWriter does not write leaves in received order

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Resolution: Cannot Reproduce
    • None
    • None
    • restconf-nb
    • None
    • Operating System: All
      Platform: All

    • 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.

      Attachments

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

        Activity

          People

            jakubtoth-0 Jakub Toth
            ivan.hrasko@pantheon.tech Ivan Hrasko
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: