You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Andrew Onischuk (JIRA)" <ji...@apache.org> on 2015/02/05 17:54:36 UTC

[jira] [Resolved] (AMBARI-9495) Call to save configs of different services together should 400 return code not 500

     [ https://issues.apache.org/jira/browse/AMBARI-9495?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrew Onischuk resolved AMBARI-9495.
-------------------------------------
    Resolution: Fixed

Committed to trunk

> Call to save configs of different services together should 400 return code not 500
> ----------------------------------------------------------------------------------
>
>                 Key: AMBARI-9495
>                 URL: https://issues.apache.org/jira/browse/AMBARI-9495
>             Project: Ambari
>          Issue Type: Bug
>            Reporter: Andrew Onischuk
>            Assignee: Andrew Onischuk
>             Fix For: 2.0.0
>
>
> This AmbariException will need to be caught upstream and translated to an
> IllegalArgumentException (or thrown from here) which will result in the
> expected 400 Bad Request response back to the user. If the AmbariException is
> not caught, it will result in a 500 Server Error to the user which is not
> appropriate.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)