[jira] [Commented] (OFBIZ-5409) JSON Response does not set http status on error

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Commented] (OFBIZ-5409) JSON Response does not set http status on error

Nicolas Malin (Jira)

    [ https://issues.apache.org/jira/browse/OFBIZ-5409?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17029873#comment-17029873 ]

Jacques Le Roux commented on OFBIZ-5409:
----------------------------------------

While working on OFBIZ-11329 I found 2 others attributes to ignore: userLogin and impersonateLogin.

> 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, Trunk
>
>         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)