Uploaded image for project: 'netconf'
  1. netconf
  2. NETCONF-1177

PUT requests failing with "insert" query parameter on testool models

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Medium Medium
    • 7.0.5
    • None
    • None

      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.
       
       
       

            rkashapov Ruslan Kashapov
            yaroslav.lastivka Yaroslav Lastivka
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: