You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@chemistry.apache.org by "Florian Müller (JIRA)" <ji...@apache.org> on 2015/08/11 12:43:45 UTC

[jira] [Assigned] (CMIS-934) 500 iso 503 on CmisServiceUnavailableException

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

Florian Müller reassigned CMIS-934:
-----------------------------------

    Assignee: Florian Müller

> 500 iso 503 on CmisServiceUnavailableException
> ----------------------------------------------
>
>                 Key: CMIS-934
>                 URL: https://issues.apache.org/jira/browse/CMIS-934
>             Project: Chemistry
>          Issue Type: Bug
>          Components: opencmis-server
>    Affects Versions: OpenCMIS 0.13.0
>            Reporter: Michael Brackx
>            Assignee: Florian Müller
>
> Throwing a CmisServiceUnavailableException results in a 500 status code instead of a 503 with the browser binding.
> A CmisServiceUnavailableException is a CmisRuntimeException.
> This results in the wrong code path being take in CmisBrowserBindingServlet$ErrorServiceCall#printError.
> The code path for CmisBaseException should be taken instead where getErrorCode() would return a 503 for CmisServiceUnavailableException.



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