[YANGTOOLS-811] yang parser problem with refine or augment of yang node, which is not supported per feature statement Created: 13/Sep/17 Updated: 10/Apr/22 Resolved: 14/Sep/17 |
|
| Status: | Resolved |
| Project: | yangtools |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | ||
| Reporter: | Mirko Deckert | Assignee: | Unassigned |
| Resolution: | Cannot Reproduce | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Operating System: All |
||
| Attachments: |
|
| External issue ID: | 9156 |
| Description |
|
With the attached minimized two yang modules the following error message is printed: my-model-1: not found. At null:16:6 my-model-2: ' not found [at null:18:2] The full stacktraces are available inside the attachment. Tested with released version 1.0.4-Boron-SR4. |
| Comments |
| Comment by Mirko Deckert [ 13/Sep/17 ] |
|
Attachment test_model.zip has been added with description: minimized yang modules and stacktraces |
| Comment by Peter Kajsa [ 14/Sep/17 ] |
|
I believe yang parser behavior is correct in both attached cases, because the augment and the refine should also be marked with the same "if-feature my-feature;". Otherwise the yang models are not consistent. Therefore I am closing this bug as invalid. |