macopedia / magmi-m2

Magmi GitHub, see branch magento2 for a version compatible with Magento 2
113 stars 53 forks source link

Multilanguage Category Import - Error on a sql query #65

Closed bertod closed 4 years ago

bertod commented 4 years ago

while I was trying to import categories translation for Magento View, i found a sql error on a query which doesn't allow to import translations.

error:SKU "productSku" - 1:SQLSTATE[42S22]: Column not found: 1054 Unknown column 'entity_type_id' in 'field list' -

The original query was: $sql = "INSERT INTO $table (entity_type_id,attribute_id,store_id,entity_id,value) VALUES " . etc

but entity_type_id doesn't exists in "catalog_categoryentity" tables. Indeed, in the same categoryimporter.php, the other queries for the same tables are correct, without that column

tmotyl commented 4 years ago

Hi If you want to provide a fix to magento2 version, you need to push a PR to magento2 branch, not master.