[YANGTOOLS-1416] ChoiceNodeContextNode's handling of case augmentations Created: 29/Mar/22  Updated: 18/May/23  Resolved: 18/May/23

Status: Resolved
Project: yangtools
Component/s: data-util
Affects Version/s: None
Fix Version/s: 11.0.0

Type: Bug Priority: High
Reporter: Robert Varga Assignee: Robert Varga
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
duplicates YANGTOOLS-568 Remove AugmentationIdentifier and Aug... Resolved

 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.


Generated at Wed Feb 07 20:56:06 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.