Repository navigation
5.1.0
Included commits: 5.0.0...5.1.0
Bugfixes
Missing locale condition when joining touch-storage table caused accidental overrides of database entries
- Missing condition has been added
Migration
To enable the fix for the collector query it is necessary to override CollectorConfig in your project and enable the feature. Override CollectorConfig::getEnablePrepareScopeKeyJoinFixFeatureFlag() and return true from it:
namespace Pyz\Zed\Collector;
use Spryker\Zed\Collector\CollectorConfig as SprykerCollectorConfig;
class CollectorConfig extends SprykerCollectorConfig
{
/**
* @return bool
*/
public function getEnablePrepareScopeKeyJoinFixFeatureFlag()
{
return true;
}
}All collectors inheriting from \Spryker\Zed\Collector\Business\Collector\Storage\AbstractStoragePropelCollector that require the fix need to get CollectorConfig passed as a dependency through \Spryker\Zed\Collector\Business\Collector\Storage\AbstractStoragePropelCollector::setConfig(). Please review all methods that instatiate collectors in \Pyz\Zed\Collector\Business\CollectorBusinessFactory and pass them the bundle configuration.