Uploaded image for project: 'yangtools'
  1. yangtools
  2. YANGTOOLS-1416

ChoiceNodeContextNode's handling of case augmentations

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • High
    • Resolution: Duplicate
    • None
    • 11.0.0
    • data-util
    • None

    Description

      The combination of choice/case/augment/choice/case traversal seems to have a logical bug in it. For this model:

      module foo {
        namespace foo;
        prefix foo;
      
        container foo;
      
        augment /foo {
          choice bar {
            case baz;
          }
        }
      
        augment /foo/bar/baz {
          choice xyzzy;
        }
      }

      it seems ChoiceNodeContextNode does the wrong thing in that the traversal from baz to xyzzy does not include the augment holding xyzzy.

      Attachments

        Issue Links

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

          Activity

            People

              rovarga Robert Varga
              rovarga Robert Varga
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: