Uploaded image for project: 'OpenNMS'
  1. OpenNMS
  2. NMS-9598

ExceptionMapper does not update the entity type accordingly

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 20.1.0, Meridian-2017.1.0
    • Component/s: REST
    • Security Level: Default (Default Security Scheme)
    • Labels:
      None
    • Sprint:
      Horizon - August 23rd

      Description

      If a request is made to any rest endpoint (v1 or v2) the original Accept header is not updated when an error occurs while processing the request. This usually results in a 500 Internal Server Error with an error message as the body. However the Response-Type Header is still the Accept header and is not updated to text/plain

        Attachments

          Activity

            People

            • Assignee:
              mvr Markus von Rüden
              Reporter:
              mvr Markus von Rüden
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: