Uploaded image for project: 'Chemistry (Retired)'
  1. Chemistry (Retired)
  2. CMIS-934

500 iso 503 on CmisServiceUnavailableException

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • OpenCMIS 0.13.0
    • OpenCMIS 0.14.0
    • opencmis-server
    • 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.

      Attachments

        Activity

          People

            fmui Florian Müller
            brackxm Michael Brackx
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: