Uploaded image for project: 'mdsal'
  1. mdsal
  2. MDSAL-65

Binding Data Codec: Incorrectly deserialized unkeyed list from NormalizedNode

    XMLWordPrintable

Details

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

    • 2562

    Description

      The following yang syntax is accepted and generates Java files, but when I attempt to process a data change (onDataChange implementation) the generated AsyncDataChangeEvent is unusable. The object reference is non-null, but attempting to use the toString() method of the object causes an error:

      list foo {
      list bar {
      key “type”;
      leaf type

      { type int32; }
      leaf value { type int32; }

      }
      }

      Attachments

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

        Activity

          People

            filip.gregor@pantheon.tech Filip Gregor
            tony.tkacik@gmail.com Tony Tkacik
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: