Open Rocheauxfees opened 1 year ago
We found out what's going on here. It's related to the settings in the config view of the Akeneo Connector for the used version by Akeneo. But why?
The product.php has the following in the lines 2723 to 2736
if ($edition === Edition::SERENITY || $edition === Edition::GROWTH || $edition === Edition::SEVEN) { if (!empty($productModelItems) && array_key_exists($row['parent'], $productModelItems)) { $row['parent'] = $productModelItems[$row['parent']]; $connection->update( $tmpTable, [ 'parent' => $row['parent'], ], [ '_entity_id = ?' => $rowEntityId, ] ); } }
In version 103.3.1 (which we're using), but also in the current version 104.0.0
But why does it have the first if condition on this point? After moving our settings to pretend to have a growth edition (instead of the community edition we actually use) the linking of the products is back on working fine.
Environment and configuration
Steps to reproduce
php bin/magento akeneo_connector:import --code=product
Expected result
Actual result
catalog_product_relation
has no products if your filter for therow_id
by a imported config