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

Use of RequestParametersVoter gives ClassCastException

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Neutral
    • Resolution: Fixed
    • Affects Version/s: 5.4.9
    • Fix Version/s: 5.4.12, 5.5.3
    • Component/s: cache
    • Labels:
      None
    • Patch included:
      Yes
    • Sprint:
      Kromeriz 84
    • Story Points:
      2
    • Magnolia Release:
      5.4.12, 5.5.3

      Description

      Can be reproduced by:
      Using standard cache configuration (e.g. the one used on https://demoauthor.magnolia-cms.com), change the node:

      /modules/cache/config/contentCaching/defaultPageCache/cachePolicy/shouldBypassVoters/deny/parameters 
      

      to the configuration in the attachment will cause a ClassCastException when visiting any page on public instance. (see attachment)

        Attachments

        1. cache_config.png
          cache_config.png
          29 kB
        2. RequestParametersVoter.java
          3 kB
        3. stacktrace.png
          stacktrace.png
          279 kB

          Activity

            People

            Assignee:
            jsimak Jaroslav Simak
            Reporter:
            buf481 Marcus Käppi
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Date of First Response: