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

ContentTypeFilter should warn if content type is not set

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 5.3.13, 5.4
    • Fix Version/s: 5.3.16, 5.4.8
    • Component/s: core
    • Labels:
    • Sprint:
      Kromeriz 52
    • Story Points:
      5
    • Magnolia Release:
      5.3.16, 5.4.8

      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.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved:
                Date of First Response:

                  Time Tracking

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