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

error when using table_prefixes #73

Closed
mnentwich opened this issue Jul 1, 2016 · 1 comment
Closed

error when using table_prefixes #73

mnentwich opened this issue Jul 1, 2016 · 1 comment

Comments

@mnentwich
Copy link

The module seems broken when table prefixes are configured.

error on setup:upgrade:

Base table or view not found: 1146 Table 'magento.catalog_category_entity' doesn't exist, query was: INSERT INTO lei_catalog_category_entity_int (attribute_id, entity_id, value) SELECT 131 as attrib
ute_id, catalog_category_entity.entity_id, 1 as value FROM catalog_category_entity ON DUPLICATE KEY UPDATE attribute_id = VALUES(attribute_id), entity_id = VALUES(entity_id), value = VALUES(value)

I searched around and the problem occurs in updateAttributeDefaultValue (InstallData.php), where the insertFromSelect produces the illegal query.

@afoucret
Copy link
Contributor

Fixed by PR #83

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 a pull request may close this issue.

2 participants