Closed vpodorozh closed 6 months ago
@Vinai - I would like to discuss these changes with you.
I've executed full list of integration tests with those changes and I actually see new problems caused by this fix.
edge case
when configurable product is created with simple that is out of stock - and expects to have configurable product stock item be also out of stock. However, this is not how the stock status of configurable product is checked and used across magento - so I doubt the need of this test.Based on those factors I would suggest this about skipping current failed test instead of spending hours fixing it.
Description
Introduce configurable product stock status assement and update based on it\'s child products. Required while creation of configurable product - as all checks realted to autoset of stock status are executed first on simple product, then on configurable while its creation. This leads to not calling
processStockForParent
method on configurable product - but it should, to set correct stock status for configurable based on child products.Fixed Issues
https://github.com/mage-os/mageos-magento2/issues/84