Details
-
Bug
-
Resolution: Fixed
-
High
-
5.2, 5.3, 5.4.0
-
None
-
eZ Publish 5.2, CLI
Description
Steps to reproduce:
1. Enable async publishing. Go to /settings/override/content.ini.append.php and add:
[PublishingSettings] AsynchronousPublishing=enabled
2. Clear cache so that setting take effect;
3. Run ezasynchronouspublisher.php:
$php bin/php/ezasynchronouspublisher.php --daemon
4. Examine contents of expiry.php:
$cat var/ezdemo_site/cache/expiry.php <?php $Timestamps = array ( 'class-identifier-cache' => 1420742423, 'user-info-cache' => 1420742422, 'image-manager-alias' => 1420742422, 'content-tree-menu' => 1420742422, 'active-extensions-cache' => 1420742422, 'state-limitations' => 1417191404, 'content-view-cache' => 1420742422, 'global-template-block-cache' => 1420742422, 'ts-translation-cache' => 1420742422, 'content-complex-viewmode-cache' => 1420742765, 'template-block-cache' => 1420742765, );
5. Clear cache. For issue reproduction, it sufficed to clear all caches from admin interface;
6. Examine contents of expiry.php:
$cat var/ezdemo_site/cache/expiry.php <?php $Timestamps = array ( 'class-identifier-cache' => 1420742839, 'user-info-cache' => 1420742838, 'image-manager-alias' => 1420742838, 'content-tree-menu' => 1420742838, 'active-extensions-cache' => 1420742838, 'state-limitations' => 1417191404, 'content-view-cache' => 1420742838, 'global-template-block-cache' => 1420742838, 'ts-translation-cache' => 1420742838, 'content-complex-viewmode-cache' => 1420742765, 'template-block-cache' => 1420742765, );
7. Go to admin interface and publish a new content or edit an existing one;
8. Examine contents of expiry.php:
$cat var/ezdemo_site/cache/expiry.php <?php $Timestamps = array ( 'class-identifier-cache' => 1420742423, 'user-info-cache' => 1420742422, 'image-manager-alias' => 1420742422, 'content-tree-menu' => 1420742422, 'active-extensions-cache' => 1420742422, 'state-limitations' => 1417191404, 'content-view-cache' => 1420742422, 'global-template-block-cache' => 1420742422, 'ts-translation-cache' => 1420742422, 'content-complex-viewmode-cache' => 1420742867, 'template-block-cache' => 1420742867, );
expiry.php was reverted to its original state, which is wrong.
Attachments
Issue Links
- relates to
-
EZP-23908 expiry.php race condition
- Closed