[YANGTOOLS-509] can't use key from element defined in inner grouping from list using outer grouping Created: 18/Sep/15 Updated: 10/Apr/22 Resolved: 26/Nov/15 |
|
| Status: | Resolved |
| Project: | yangtools |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | ||
| Reporter: | Vishal Thapar | Assignee: | Peter Kajsa |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Operating System: All |
||
| External issue ID: | 4330 |
| Description |
|
If I have something like this: grouping inner { grouping outer { list myList { It fails with error on key "myKey". Problem encountered in: https://git.opendaylight.org/gerrit/#/c/24078/5/hwvtepsouthbound/hwvtepsouthbound-api/src/main/yang/hwvtep.yang Check code form Line 56-90 and then 137 to 151. For now workaround would be to use both the groupings directly in code 137 to 151. Refer fix at: https://gist.github.com/vishnoianil/d5fd0a8967791ff2aa0c |
| Comments |
| Comment by Peter Kajsa [ 08/Oct/15 ] |
|
Hi, I tested the attached yang model and everything works ok. Can you provide me more information please:
Thx. |
| Comment by Tony Tkacik [ 08/Oct/15 ] |
|
Hi Vishal, |