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

Server returns 500 when trying to DELETE a non-existing resource

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Resolution: Done
    • None
    • None
    • restconf
    • None
    • Operating System: Mac OS
      Platform: PC

    • 1211

    Description

      DELETE is an idempotent method and therefore should always succeed. If resource is not there, return success, meaning it is still not there.

      But today server returns internal server error

      Example:

      DELETE http://localhost:8080/restconf/config/service-function:service-functions/

      HTTP Status 500 - Internal Server Error

      type Status report

      message Internal Server Error

      description The server encountered an internal error that prevented it from fulfilling this request.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            jgloncak Jozef Gloncak
            repenno Reinaldo Penno
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: