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

Bug in CacheResponseWrapper causes ClassCastExceptions

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Neutral Neutral
    • 5.9.11
    • 5.9.9
    • None
    • None
    • Yes

      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

        Acceptance criteria

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

                Created:
                Updated:
                Resolved:
                Work Started:

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