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

ChoiceNodeContextNode's handling of case augmentations

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: High High
    • 11.0.0
    • None
    • data-util
    • None

      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.

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

              Created:
              Updated:
              Resolved: