PUT requests with query parameters: insert=first, insert=after&point, insert=before&point are failing
{ "errors": { "error": [ { "error-tag": "operation-failed", "error-info": "TransactionCommitFailedException{message=Netconf transaction commit failed, errorList=[RpcError [message=Netconf transaction commit failed, severity=ERROR, errorType=APPLICATION, tag=operation-failed, applicationTag=null, info=null, cause=NetconfDocumentedException{error-type=APPLICATION, error-tag=operation-failed, error-severity=ERROR, error-info={}, message=RPC during tx failed. Unexpected error <error>java.lang.IllegalArgumentException: Input is empty while expecting 1 item</error>}]]}", "error-message": "Transaction(PUT) not committed correctly", "error-type": "application" } ] } }
Steps to reproduce:
1. Run testtool with the provided [^user-ordered-list@2023-10-04.yang]
2. Use the 'insert&point' parameters from the PUT with insert&point parameters.postman_collection.json and try to PUT 2 or more items into the 'ordered-by user' list.
- is blocked by
-
YANGTOOLS-1565 Ordered list item order cannot be changed in single transaction
- Open
-
NETCONF-1239 Exception on building get-config list filter with fields
- Resolved
-
NETCONF-1245 Full list delete fails when called on remote device via restconf
- Resolved
- relates to
-
NETCONF-1163 Create tests for POST "insert" query parameter
- Resolved
-
NETCONF-1178 POST request with insert parameter fails if target URI points the list
- Resolved
-
NETCONF-1180 PUT request with insert=after cannot add last item into list
- Resolved
-
NETCONF-1202 Optimize Restconf-Netconf operations for List and Leaf-List items
- Confirmed