Michael Brackx created CMIS-934:
-----------------------------------

             Summary: 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


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)

Reply via email to