[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: |
|
||||||||
| 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. |