Uploaded image for project: 'Migration Toolkit for Applications'
  1. Migration Toolkit for Applications
  2. MTA-1267

[RFE] Return status 404 with error message from DELETE method if resource does not exist

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Normal Normal
    • None
    • upstream
    • Hub
    • None
    • False
    • Hide

      None

      Show
      None
    • False
    • No

      Description of problem:

      The DELETE API request in tackle2-hub works in such a way that it does not check if the resource exists before deleting it.

      From a user perspective, I expect the behavior to be consistent across all HTTP methods, and get a 404 status with an error message: "record not found" if the resource doesn't exist, same as the GET method

      Version-Release number of selected component (if applicable):

      Upstream

      Attachments

      screenshot_delete_204.png
      screenshot_get_404.png

            rhn-engineering-dymurray Dylan Murray
            mguetta1 Maayan Hadasi
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: