chemistry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Brackx (JIRA)" <>
Subject [jira] [Created] (CMIS-934) 500 iso 503 on CmisServiceUnavailableException
Date Tue, 11 Aug 2015 09:17:45 GMT
Michael Brackx created CMIS-934:

             Summary: 500 iso 503 on CmisServiceUnavailableException
                 Key: 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

View raw message