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

Use of RequestParametersVoter gives ClassCastException

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Neutral Neutral
    • 5.4.12, 5.5.3
    • 5.4.9
    • cache
    • None
    • Yes
    • Kromeriz 84
    • 2

      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)

        Acceptance criteria

          1. cache_config.png
            29 kB
            Marcus Käppi
          2. RequestParametersVoter.java
            3 kB
            Marcus Käppi
          3. stacktrace.png
            279 kB
            Marcus Käppi

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

                Created:
                Updated:
                Resolved:

                  Bug DoR
                  Task DoD