cancel
Showing results for 
Search instead for 
Did you mean: 

catalog_product_entity_decimal table's column name entity_id is changed to row_id

catalog_product_entity_decimal table's column name entity_id is changed to row_id

catalog_product_entity_decimal table's column name `entity_id` is changed to `row_id`  in Magento Enterprise Edition. 

 

But its implementation is not changed.

 

Example:-

$productCollection->getAttributeValueCount('price');

 

calling this is throwing error

 

vendor/magento/module-catalog/Model/ResourceModel/Product/Collection.php


line no: 1062 :

error throwing line

$condition = 'e.entity_id=' . $tableAlias . '.entity_id AND ' . $this->_getConditionSql

 

fix

 

$condition = 'e.entity_id=' . $tableAlias . '.row_id AND ' . $this->_getConditionSql