Paolo Cunti @codencode
Paolo Cunti @codencode
> I understand the issue with a Paypal module payment, but, that not the role of a payment gateway to manage the availability of the stocks but to the core....
The problem occurs in the `CustomizationFieldsCommandsBuilder::buildCustomizationFields()` method https://github.com/PrestaShop/PrestaShop/blob/1d31acbf2322305b7d1efb1bb7dc2a7776b5eb4f/src/Core/Form/IdentifiableObject/CommandBuilder/Product/CustomizationFieldsCommandsBuilder.php#L69-L80 where the `added_by_module` field is set to false.
> Hi @Codencode Feel free to make a PR! Our QA will test your fix in several release to be sure, there are no regression ! Many thanks. Hi @clotairer...
> Maybe I am wrong, but does it make sense to first warmup the cache and then clean it? > > @PrestaShop/committers Guys could you please check it out? Installer...
### Original  https://github.com/PrestaShop/PrestaShop/assets/2463965/1ad8ffea-710d-40a9-8114-97b6571cf5b6 ### With modification  https://github.com/PrestaShop/PrestaShop/assets/2463965/c3421011-d3de-4d0d-a9a3-36421902925f
Hi @matks, You're right, in fact it doesn't make much sense to reverse the instructions. The error that is generated is the following: **ERROR**: "Failed opening required 'D:\cms\Prestashop\Site\prestashop813\var\cache\prod\ContainerA8Cu5F9\getConsole_Command_CacheWarmupService.php' (include_path='D:\cms\Prestashop\Site\prestashop813\vendor/pear/pear_exception;D :\cms\Prestashop\Site\prestashop813\vendor/pear/console_getopt;D:\cms\Prestashop\Site\prestashop813\vendor/pear/pear-core-minimal/src;D:\cms\Prestashop\Site\prestashop813\...
A different solution from the one I proposed is the one proposed by @ChillCode here https://github.com/PrestaShop/PrestaShop/issues/35044#issuecomment-1895903686 which consists in modifying the AppKernel::getContainerClearCacheLockPath() method like this: **original method** ``` protected function...
I removed the previous change as it was incorrect and made the change proposed by @ChillCode.
> A different solution from the one I proposed is the one proposed by @ChillCode here [#35044 (comment)](https://github.com/PrestaShop/PrestaShop/issues/35044#issuecomment-1895903686) which consists in modifying the AppKernel::getContainerClearCacheLockPath() method like this: > > **original...
> You can't do this, the cache dir of Symfony is not the tmp directory, it depends on the environment and the debug mode This modification ould certainly have huge...