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

Code generator fails to generate bindings for leafrefs that target a leaf with union type

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Medium
    • Resolution: Done
    • None
    • 6.0.3, 4.0.16, 5.0.13
    • None
    • None

    Description

      Codegenerator fails for the following model:

      grouping state-top {
          leaf index {
            type union {
              type enumeration {
                enum ALL;
              }
              type uint32;
            }
          }
        }  grouping g {
          list l {
            container state {
              uses state-top;
            }
            leaf index {
              type leafref {
                path "../state/index";
              }
            }
          }
        }
      

      Attachments

        # Subject Branch Project Status CR V

        Activity

          People

            tcere Tomas Cere
            tcere Tomas Cere
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: