Uploaded image for project: 'Nuxeo Studio'
  1. Nuxeo Studio
  2. NXS-3676

Wrong exception management in StudioServlet

    XMLWordPrintable

    Details

      Description

      The studio servlet let some ServletException thrown.
      It may disturb the normal exception logging behaviour.
      Instead of throwing exception for any error, we must log the error and return the proper status code:

      • 500 for unexpected errors
      • 404 when not found
      • 401 for bad param
      • 423 when the user tries to perform multiple download simultaneously

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: