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

ContentTypeFilter should warn if content type is not set

XMLWordPrintable

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

      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.

        Acceptance criteria

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

                Created:
                Updated:
                Resolved:

                  Bug DoR
                  Task DoD

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