[MDSAL-65] Binding Data Codec: Incorrectly deserialized unkeyed list from NormalizedNode Created: 07/Jan/15  Updated: 09/Mar/18  Resolved: 21/Mar/16

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

Type: Bug
Reporter: Tony Tkacik Assignee: Filip Gregor
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: 2562

 Description   

The following yang syntax is accepted and generates Java files, but when I attempt to process a data change (onDataChange implementation) the generated AsyncDataChangeEvent is unusable. The object reference is non-null, but attempting to use the toString() method of the object causes an error:

list foo {
list bar {
key “type”;
leaf type

{ type int32; }
leaf value { type int32; }

}
}



 Comments   
Comment by Robert Varga [ 05/Mar/15 ]

What is the error reported?

Comment by Filip Gregor [ 18/Mar/16 ]

https://git.opendaylight.org/gerrit/#/c/36435/ test show no such error

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