[CONTROLLER-1250] POST operation to list only accepts data for keys Created: 13/Apr/15  Updated: 25/Jul/23  Resolved: 12/May/15

Status: Resolved
Project: controller
Component/s: restconf
Affects Version/s: None
Fix Version/s: None

Type: Bug
Reporter: Juraj Sebin Assignee: Jan Hajnar
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: Linux
Platform: PC


External issue ID: 2983

 Description   

POST to http://localhost:8181/restconf/config/opendaylight-inventory:nodes/node/1 with data:
{
"id": 1,
"node-connector": [

{ "id": "nc1" }

,

{ "id": "nc2" }

,

{ "id": "nc3" }

],
"connected": "true"
}

returns 400 Bad requests with error message:
{
"errors": {
"error": [

{ "error-type": "protocol", "error-tag": "malformed-message", "error-message": "Error parsing input: Result was already set." }

]
}
}

POST to same URI with data:
{
"id": 1
}
goes through ok (response 204 No content)



 Comments   
Comment by Jan Hajnar [ 29/Apr/15 ]

yangtools patch:
https://git.opendaylight.org/gerrit/#/c/18844/

controller patch:
https://git.opendaylight.org/gerrit/#/c/18895/

Generated at Wed Feb 07 19:55:03 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.