[YANGTOOLS-427] JSON Parser does not correctly parsed choice inside augmentation. Created: 19/Mar/15 Updated: 10/Apr/22 Resolved: 20/Mar/15 |
|
| Status: | Resolved |
| Project: | yangtools |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | ||
| Reporter: | Andrej Kincel | Assignee: | Tony Tkacik |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Operating System: Linux |
||
| External issue ID: | 2874 |
| Description |
|
I set the severity of this bug to blocker, because we cannot finish our Hackathon demo setup, until following issue will be solved: Given this augmentation (sfc-model/src/main/yang/service-function-acl.yang): augment "/ietf-acl:access-lists/ietf-acl:access-list/ietf-acl:access-list-entries/ietf-acl:actions" { } I can PUT and then GET data throught RESTconf including the augmentation leaf: { } The issue occurs, when I get Listener notification, with corresponding DataObject actions: Actions1 actions1 = actions.getAugmentation(Actions1.class); actions1 will be always null, even the augmentation data are present (as verified through RESTconf) |
| Comments |
| Comment by Tony Tkacik [ 20/Mar/15 ] |
| Comment by Andrej Kincel [ 20/Mar/15 ] |
|
It works flawlessly! |