Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
OpenCMIS 0.13.0
-
None
Description
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.