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

New stack, workflows: wait until date does not trigger http purges

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: 5.2, 5.3
    • Fix Version/s: Customer request
    • Component/s: Cronjobs
    • Labels:
      None

      Description

      when an object is published using the "wait until date" trigger, purge requests are not sent to clear Sf http caches.

      test:

      • set the /vendor/ezsystems/ezpublish-kernel/eZ/Publish/Core/MVC/Symfony/Cache/Http/PurgeClient.php::dopurge() to throw a message when triggered
      • setup a wait until date workflow
      • publish an object with a time 5 minutes in the future
      • run the cronjob. will show message: 0 out of 1 processes was finished
      • wait the 5 minutes
      • run the cronjob. will show message: 1 out of 1 processes was finished
      • check that no message is shown.

      additional test: publish the object using admin and verify that the message on dopurge() is generated.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              paulo.bras@ez.no Paulo Bras (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 - 2 days, 45 minutes
                2d 45m