[MDSAL-263] Duplicate appending rank to augement class Created: 02/Jun/17  Updated: 09/Mar/18  Resolved: 19/Sep/17

Status: Resolved
Project: mdsal
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug
Reporter: Jie Han Assignee: Jie Han
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: All


External issue ID: 8583

 Description   

For the sample yang model in binding-v2.adoc:
module foo1b {
namespace "urn:test:foo1b";
prefix f1b;

revision 2016-01-01

{ description "First refactor only augment"; }

container a {
}

augment "/a" {
container b {
}
}

augment "/a/b" {
container c {
}
}
}

Class A1 and B1 should be generated for augments respectively, but A11 and B11 instead, since the rank was appended repeatedly in both ReferencedTypeImpl and addRawAugmentGenTypeDefinition。



 Comments   
Comment by Jie Han [ 02/Jun/17 ]

patch:
https://git.opendaylight.org/gerrit/#/c/58170/

Generated at Wed Feb 07 20:09:16 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.