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

Binding/DOM codec fails when leafref points to an enumeration

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Medium
    • Resolution: Done
    • None
    • 4.0.15, 6.0.2, 5.0.12
    • Binding codegen
    • None

    Description

      Enum values with names using underscores are encoded without underscores. This issue has been reproduced using such enum in Notification or Rpc through leaf-ref. Issue appears when Gson codec tries to writeValue. Refer to example yang model in attachment.

      Attachments

        Issue Links

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

          Activity

            People

              PeterValka Peter Valka
              PeterValka Peter Valka
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: