Details
-
Bug
-
Resolution: Unresolved
-
Blocker
-
None
-
None
Description
I have an eZ Platform 2.3 + Legacy Bridge with content approval setup and all of my siteaccesses have use the cache.redis cache pool.
Unfortunately when I run the following command:
bin/console ezpublish:legacy:script runcronjobs.php --siteaccess ngadminui frequent
redis persistent cache is not cleared as eZ\Bundle\EzPublishCoreBundle\ApiLoader\CacheFactory::getCachePool(ConfigResolverInterface $configResolver) is invoked before siteaccess is matched and therefore the cache pool is cache.app.
This is a major bug and should be fixed asap.
The only workaround I have found is to set the 'ezsettings.default.cache_service_name' parameter to 'cache.redis', but this is just a workaround.