[NETCONF-374] Json HTTP PATCH: Problem parsing simple leaf value Created: 15/Mar/17 Updated: 15/Mar/19 Resolved: 16/Mar/17 |
|
| Status: | Resolved |
| Project: | netconf |
| Component/s: | restconf-nb |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | ||
| Reporter: | Ivan Hrasko | Assignee: | Ivan Hrasko |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Operating System: All |
||
| External issue ID: | 7987 |
| Description |
|
Yang model as below: } When I tried to replace the "host-name" with following request: } The respond returns an error "Error parsing json input: Expected BEGIN_OBJECT but was STRING at line 11 column 24 path $.ietf-yang-patch:yang-patch.edit[0].value.host-name". |
| Comments |
| Comment by Ivan Hrasko [ 16/Mar/17 ] |
|
cherry pick to stable/boron: https://git.opendaylight.org/gerrit/#/c/53395/ |