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

ExceptionMapper does not update the entity type accordingly

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved (View Workflow)
    • Major
    • Resolution: Fixed
    • None
    • 20.1.0, Meridian-2017.1.0
    • REST
    • Security Level: Default (Default Security Scheme)
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: