[CONTROLLER-1194] is behavior of BooleanCodecStringImpl.deserialization() correct? Created: 11/Mar/15  Updated: 25/Jul/23  Resolved: 08/Jun/15

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

Type: Bug
Reporter: Jozef Gloncak Assignee: Debalina Ghosh
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: 2816

 Description   

If rest payload (described as YANG leaf - boolean type) contains value different from "true" ruturned value is always false.



 Comments   
Comment by Jozef Gloncak [ 11/Mar/15 ]

This was reported by Viliam Luc with following description:

We use ODL restconf to test VPP and we created some TCs to test yang leaves with boolean datatype. When we want to test negative scenario with incorrect value "test", ODL passes modified netconf request to VPP. By modified request I mean that it converts any boolean value (string, number, etc.) to "false". Therefore we cannot pass restconf request to VPP with incorrect value "test".

Comment by Tony Tkacik [ 04/Jun/15 ]

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

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