Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-23927

HTTP cache issue on premium content

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: 2014.11, 2015.01, 5.4.1
    • Fix Version/s: 2014.11, 2015.01, 5.4.1.1
    • Component/s: Caching
    • Labels:
      None

      Description

      As highlighted by travis, tests on master are currently failing. They passed the last time something was merged, 7 days ago.

      The problem is visible with HTTP cache enabled:

      • go to /Getting-Started/Selected-Features/Getting-Started-with-eZ-Publish-Platform. You should get the premium content teaser
      • login as subscriber/publish, go to /Getting-Started/Selected-Features/Getting-Started-with-eZ-Publish-Platform again. You will get the teaser again, instead of the content.

      The problem goes away after a while (HTTP cache TTL), or after clearing HTTP cache. It also works if you view the content first as subscriber, then logout and see it as anonymous.

      It seems, after some testing, that version 1.2 of friendsofsymfony/http-cache-bundle causes the issue.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              bertrand.dunogier@ez.no Bertrand Dunogier
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: