Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multilanguage Category Import - Error on a sql query #69

Open
wants to merge 15 commits into
base: magento2
Choose a base branch
from

Conversation

bertod
Copy link

@bertod bertod commented Feb 10, 2020

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_category_entity_" tables. Indeed, in the same categoryimporter.php, the other queries for the same tables are correct, without that column

bestshow and others added 15 commits March 28, 2017 14:57
Fix category product position when base category tree is setted on plugin configuration o some category not have ::x::x::x
If Base category or some category not have ::x::x::x set array $catpos is not in sync with $catids array (see line 375) and category position not working correctly.
Fix category product position
if ($ovalue !== false && $ovalue != null) returns wrong result in php 5.6.30 and sets $ovalue as false
A value of int(0) was being converted to null. This fixes that error.
Fix bundle products import issue: Field `parent_product_id` doesn not…
Use strict comparison when comparing values
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants