Uploaded image for project: 'controller'
  1. controller
  2. CONTROLLER-1250

POST operation to list only accepts data for keys

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • None
    • None
    • restconf
    • None
    • Operating System: Linux
      Platform: PC

    • 2983

      POST to http://localhost:8181/restconf/config/opendaylight-inventory:nodes/node/1 with data:
      {
      "id": 1,
      "node-connector": [

      { "id": "nc1" }

      ,

      { "id": "nc2" }

      ,

      { "id": "nc3" }

      ],
      "connected": "true"
      }

      returns 400 Bad requests with error message:
      {
      "errors": {
      "error": [

      { "error-type": "protocol", "error-tag": "malformed-message", "error-message": "Error parsing input: Result was already set." }

      ]
      }
      }

      POST to same URI with data:
      {
      "id": 1
      }
      goes through ok (response 204 No content)

            jhajnar@cisco.com Jan Hajnar
            jsebin@cisco.com Juraj Sebin
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: