[YANGTOOLS-185] Double uses augmentation - code generator NPE Created: 09/Jun/14 Updated: 10/Apr/22 Resolved: 11/Jun/14 |
|
| Status: | Resolved |
| Project: | yangtools |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | ||
| Reporter: | Milos Fabian | 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 |
||
| Issue Links: |
|
||||||||
| External issue ID: | 1172 | ||||||||
| Priority: | High | ||||||||
| Description |
|
yang model snippet: grouping machine-types { grouping machine-ext { } } } } grouping machine-ext2 { uses machine-ext { augment "types/machine-type" { case type-b { leaf name { type string; } } unable to generate sources for grouping machine-ext2's augment "types/machine-type" |
| Comments |
| Comment by Milos Fabian [ 09/Jun/14 ] |
|
[ERROR] yang-to-sources: Unable to generate sources with org.opendaylight.yangtools.maven.sal.api.gen.plugin.CodeGeneratorImpl generator |
| Comment by Martin Vitez [ 11/Jun/14 ] |
|
Proposed patch: |