[NETCONF-1222] Improve error path for list items Created: 15/Jan/24 Updated: 07/Feb/24 Resolved: 07/Feb/24 |
|
| Status: | Resolved |
| Project: | netconf |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 7.0.0 |
| Type: | Bug | Priority: | Medium |
| Reporter: | Ivan Hrasko | Assignee: | Yaroslav Lastivka |
| Resolution: | Done | Votes: | 0 |
| Labels: | pt, regression | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
Invoke POST at http://localhost:8181/rests/data/network-topology:network-topology with payload: {
"topology": [
{
"topology-id": "restconf"
}
]
}
First time we expect success, the second time 409 error, we get: {
"errors": {
"error": [
{
"error-tag": "data-exists",
"error-message": "Data already exists",
"error-path": "/network-topology:network-topology",
"error-type": "protocol"
}
]
}
}
The error path is not complete, we expect "/network-topology:network-topology/topology=restconf". |
| Comments |
| Comment by Ivan Hrasko [ 07/Feb/24 ] |
|
Works OK on 6.0.x and 5.0.x. |