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

Varnish cache not being purged when using "wait until date" publication

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Blocker Blocker
    • Customer request
    • 5.4.6
    • Caching
    • None

    Description

      "Wait until date* workflow won't purge Varnish cache after execution of the cronjob

      Steps to reproduce
      • Make sure varnish is running and configured/clearing caches correctly
      • Create a "Varnish" Folder, and an Article inside it, access and verify the folder in frontend using varnish.
      • Configure a "wait until date" workflow for "Article class", trigger, etc.
      • Create a new Article in the "Varnish" folder, with publish date 1 minute in the future, wait 1 minute.
      • Optional: run "varnishlog" command on the varnish server and monitor the output
      • run the cronjob, and verify the workflow is done.
        php -d memory_limit=-1 ezpublish/console --env=prod ezpublish:legacy:script runcronjobs.php frequent
      • Optional: verify the varnishlog command is empty (no BAN)
      • Access the "Varnish" folder in frontend, using varnish, and verify it wasn't updated.
      • Access the "Varnish" folder in frontend, without varnish, and verify it was updated.

      EZP-23250 seems to be related, but the steps described there won't work here.

      Attachments

        Activity

          People

            Unassigned Unassigned
            eduardo.fernandes-obsolete@ez.no Eduardo Fernandes (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 day, 7 hours
                1d 7h