Uploaded image for project: 'Alfresco'
  1. Alfresco
  2. ALF-667

Incorrect WebScript error template for the given request content type is sometimes returned

    Details

    • Resolution Time Custom Field:
      28 weeks, 1 hour, 26 minutes, 15 seconds

      Description

      Incorrect WebScript error template for the given request content type is sometimes returned.

      Depending on the exception thrown in the repo, sometimes the incorrect type of WebScript status template is returned. I.e. if a GET request is made with the content type of application/json then the .json error status template should be used. On some occasions it is not - instead the default .html status template is used - this causes the client error handling (expecting json!) to fail and masses of exceptions to appear on the client console/user browser.

        Attachments

          Activity

            People

            • Assignee:
              closedbugs Closed Bugs
              Reporter:
              kroast Kevin Roast [X] (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Date of First Response:

                Time Tracking

                Estimated:
                Original Estimate - 2 days
                2d
                Remaining:
                Remaining Estimate - 2 days
                2d
                Logged:
                Time Spent - Not Specified
                Not Specified