Alessandro Adamou created STANBOL-690:
-----------------------------------------

             Summary: DELETE method on recipes always returns 200 OK
                 Key: STANBOL-690
                 URL: https://issues.apache.org/jira/browse/STANBOL-690
             Project: Stanbol
          Issue Type: Bug
          Components: Rules
    Affects Versions: 0.9.0-incubating
            Reporter: Alessandro Adamou


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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to