Uploaded image for project: 'Cache Modules'
  1. Cache Modules
  2. MGNLCACHE-358

Bug in CacheResponseWrapper causes ClassCastExceptions

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Neutral
    • 6.0.0, 5.9.11
    • 5.9.9
    • None
    • None

    Description

      Steps to reproduce

      1. use setDateHeader or setIntHeader on a CacheResponseWrapper Object to add a non-String value to the headers
      2. call #getHeaders(String)

      Expected results

      get a Collection of String values

      Actual results

      ClassCastException

      Workaround

      none

      Development notes

      A PR has been created at https://git.magnolia-cms.com/projects/MODULES/repos/cache/pull-requests/163/overview

      Checklists

        Acceptance criteria

        Attachments

          Activity

            People

              oanh.thai Oanh Thai Hoang
              pgaschuetz Philipp Gaschuetz
              DeveloperX
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                Work Started:

                Checklists

                  Bug DoR
                  Task DoD

                  Time Tracking

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