You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Jacques Le Roux (JIRA)" <ji...@apache.org> on 2013/12/11 23:47:06 UTC

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

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

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

I agree with Adrian for the static field.

I guess, you consider multiPartMap a security risk because it contains local filenames. But should we not handle it better? Can't it the be useful in some cases?

> 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: Improvement
>          Components: ALL APPLICATIONS
>    Affects Versions: SVN trunk
>            Reporter: Gareth Carter
>            Priority: Trivial
>         Attachments: CommonEvents.patch
>
>
> 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
(v6.1.4#6159)