Target rules are broken since 2.1 (entity_id to row_id change) #7354
Labels
Issue: Format is valid
Gate 1 Passed. Automatic verification of issue format passed
Progress: needs update
Preconditions
Steps to reproduce
2.1. If ALL of these conditions are TRUE :
2.2. Product Type is Constant Value Configurable Product
2.3. Product Model is Matched Product Model
Expected result
Actual result
The location of the error is https://github.com/magento/magento2ee/blob/develop/app/code/Magento/TargetRule/Model/Actions/Condition/Product/Attributes.php#L395
The problem is... You try to join
catalog_product_flat_1
oncatalog_product_entity_varchar
catalog_product_entity_varchar
has identifier column 'row_id' instead of 'entity_id'catalog_product_flat_1
only has identifier column 'entity_id'You cannot match these without
catalog_product_entity
in between to make theentity_id
torow_id
match. Or you should include row_id incatalog_product_flat_1
The text was updated successfully, but these errors were encountered: