[
https://issues.apache.org/jira/browse/OFBIZ-5409?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17033276#comment-17033276 ]
Jacques Le Roux commented on OFBIZ-5409:
----------------------------------------
Yes maybe indeed. Correctly focused on OFBIZ-11306, that needs reflection! We should then create a new Jira and refactor the whole thing...
> JSON Response does not set http status on error
> -----------------------------------------------
>
> Key: OFBIZ-5409
> URL:
https://issues.apache.org/jira/browse/OFBIZ-5409> Project: OFBiz
> Issue Type: Bug
> Components: ALL APPLICATIONS
> Affects Versions: Release Branch 11.04, Release Branch 12.04, Release Branch 13.07, Trunk
> Reporter: Gareth Carter
> Assignee: Jacques Le Roux
> Priority: Major
> Fix For: Release Branch 11.04, Release Branch 12.04, Release Branch 13.07, 17.12.01, 18.12.01
>
> Attachments: CommonEvents.patch, OFBIZ-5409 - Remove internal attributes for security reason and secure json get.patch, OFBIZ-5409 - Remove internal attributes for security reason.patch, OFBIZ-5409 - Remove internal attributes for security reason.patch, before-after.diff
>
>
> When a json response is sent and there was an error in the service called, it does not set the http status. Currently status code is always 200 but it might be more appropriate to send an error code such as 500.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)