[MDSAL-173] typo with validation message Created: 07/Jun/16  Updated: 09/Mar/18  Resolved: 08/Jun/16

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

Type: Bug
Reporter: Harinath Mallepally Assignee: Abbas P Pareedkunju
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: 6016

 Description   

"erlier" is mentioned instead of "earlier" in error message. occurred when trying to use choice parameters. when used the leaf nodes from multiple choices.

exception stack trace
{
"errors": {
"error": [
{
"error-type": "protocol",
"error-tag": "malformed-message",
"error-message": "Error parsing input: Data from case (xxxxxxxxxxxxxxxxxxxxx?revision=2016-04-25)dynamic are specified but other data from case (xxxxxxxxxxxxxx?revision=2016-04-25)explicit were specified erlier. Data aren't from the same case.",
"error-info": "java.lang.IllegalArgumentException: Data from case (xxxxxxxxxxxxxxxxxxxxxxx?revision=2016-04-25)dynamic are specified but other data from case (urn:ietf:params:xml:ns:yang:std-otn-service?revision=2016-04-25)explicit were specified erlier. Data aren't from the same case.\n\tat com.google.common.base.Preconditions.checkArgument(Preconditions.java:145)\n\tat org.opendaylight.yangtools.yang.data.codec.gson.CompositeNodeDataWithSchema.findChoice(CompositeNodeDataWithSchema.java:129)\n\tat org.opendaylight.yangtools.yang.data.codec.gson.CompositeNodeDataWithSchema.addChild(CompositeNodeDataWithSchema.java:85)\n\tat org.opendaylight.yangtools.yang.data.codec.gson.JsonParserStream.read(JsonParserStream.java:180)\n\tat org.opendaylight.yangtools.yang.data.codec.gson.JsonParserStream.read(JsonParserStream.java:141)\n\tat



 Comments   
Comment by Abbas P Pareedkunju [ 07/Jun/16 ]

Working on the fix.

Comment by Martin Ciglan [ 07/Jun/16 ]

by looking at stack trace, this is stable Beryllium, please do fix also to master branch, where class sits in yang-data-util module. Thank you.

Comment by Abbas P Pareedkunju [ 07/Jun/16 ]

Pushed for review :

https://git.opendaylight.org/gerrit/#/c/39932/

Regards,
Abbas

Comment by Harinath Mallepally [ 07/Jun/16 ]

that is prompt. thanks

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