Uploaded image for project: 'Stanbol (Retired)'
  1. Stanbol (Retired)
  2. STANBOL-690

DELETE method on recipes always returns 200 OK

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 0.9.0-incubating
    • None
    • Rules
    • None

    Description

      When HTTP DELETE is called on a [stanbol]/rules/recipe

      {id}

      resource, a Status 200 OK is always returned even in the event of an error condition (such as the recipe not existing).

      This is due to an error in the code that replace any previously created response builder with Response.ok(), before adding the CORS origin and building the response.

      Attachments

        Activity

          People

            Unassigned Unassigned
            alessandro.adamou Alessandro Adamou
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: