Uploaded image for project: 'Magnolia'
  1. Magnolia
  2. MAGNOLIA-6675

ContentTypeFilter should warn if content type is not set

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • 5.3.16, 5.4.8
    • 5.3.13, 5.4
    • core
    • Kromeriz 52
    • 5

    Description

      The ContentTypeFilter sets a default ContentType on the response if no ContentType is set. This is done after calling the filter chain when the response can already be commited and therefore it has no effect.
      It's responsibility of render/servlet to set correct content type but we should warn on the way back trough the content type filter if the content type is not set.

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

                ajuran Antonín Juran
                ploetscher Patrick Lötscher
                Votes:
                1 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Checklists

                    Bug DoR
                    Task DoD

                    Time Tracking

                      Estimated:
                      Original Estimate - Not Specified
                      Not Specified
                      Remaining:
                      Remaining Estimate - 0d
                      0d
                      Logged:
                      Time Spent - 0.25h
                      0.25h