Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-30171

Return http status code based on exception thrown

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 10.10-HF43, 11.5, 2021.2
    • Component/s: Web Common
    • Release Notes Summary:
      The returned HTTP status code of a REST/Automation request is based on thrown exception.
    • Tags:
    • Backlog priority:
      700
    • Team:
      FG
    • Sprint:
      nxFG 11.3.1
    • Story Points:
      5

      Description

      Currently a http status code 500 (Internal Server Error) is still returned in many cases when an exception is thrown by Nuxeo code.

      When the exception is a NuxeoException which has an associated status code, it should be used instead.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 week
                  1w

                    PagerDuty

                    Error rendering 'com.pagerduty.jira-server-plugin:PagerDuty'. Please contact your Jira administrators.