You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
One configurable product and children with sources assigned
Multiple websites and store views
E.g.
Steps to reproduce (*)
Try to save the configurable product in a different store view than the Default
Expected result (*)
Product is saved correctly
Actual result (*)
The product is saved but a notice appears
I've tried debugging this a bit and it seems that in line vendor/magento/module-inventory-configurable-product-admin-ui/Observer/ProcessSourceItemsObserver.php:75
The productsData array is indexed by 0...N
But later on the function $product->getExtensionAttributes()->getConfigurableProductLinks()
Will return an array indexed by the productId and not with a number 0...N
However when repeating this on the default store view the case is different and everything works fine.
Any ideas why it's loading the product links differently per store?
The text was updated successfully, but these errors were encountered:
Preconditions (*)
E.g.
Steps to reproduce (*)
Expected result (*)
Actual result (*)
I've tried debugging this a bit and it seems that in line
vendor/magento/module-inventory-configurable-product-admin-ui/Observer/ProcessSourceItemsObserver.php:75
The productsData array is indexed by 0...N
But later on the function
$product->getExtensionAttributes()->getConfigurableProductLinks()
Will return an array indexed by the productId and not with a number 0...N
However when repeating this on the default store view the case is different and everything works fine.
Any ideas why it's loading the product links differently per store?
The text was updated successfully, but these errors were encountered: