Description
As reported by Adrian Dinu in [1] the ManagedSite returns 404 on a DELETE request for an existing Entity.
A first investigation showed that the Entity is in fact deleted, but a 404 status is returned anyway.
As a workaround users can check for a 404 response the content of the response.
- If the content is empty the entity was deleted
- If the content contains a message starting with No Entity with the parsed Id no entity with the requests ID was found.
The fix will ensure that successful delete requests will return a 200 response code. In addition in case a single entity is deleted the response will return the data of the deleted entity.
Attachments
Issue Links
- links to