Optimistic Entity Lock Bundle
The CoreShop Optimistic Entity Lock Bundle is a specialized package for the CoreShop e-commerce framework, designed for handling optimistic entity locking on the Pimcore platform. This bundle is crucial for preventing editing conflicts when multiple users attempt to modify the same entity simultaneously.
Installation Process
To install the Optimistic Entity Lock Bundle, use Composer:
$ composer require coreshop/optimistic-entity-lock-bundle:^4.0
Integrating with the Kernel
Enable the bundle in the kernel by updating the AppKernel.php file:
<?php
// app/AppKernel.php
public function registerBundlesToCollection(BundleCollection $collection)
{
$collection->addBundles([
new \CoreShop\Bundle\OptimisticEntityLockBundle\CoreShopOptimisticEntityLockBundle(),
]);
}