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

Unable to apply data patch #93

Open
Antonio-Bennett opened this issue Nov 18, 2024 · 0 comments
Open

Unable to apply data patch #93

Antonio-Bennett opened this issue Nov 18, 2024 · 0 comments

Comments

@Antonio-Bennett
Copy link

Preconditions (*)

  1. Extension Version: 1.3.4
  2. Magento Version: 2.4.5

Steps to reproduce (*)

1.Existing eav attribute set with an attribute_set_id of 10 in the General attribute_group_name
2. attribute_group_code is product-details

Expected result (*)

  1. Module patches correctly and is installed

Actual result (*)

Unable to apply data patch Meta\Catalog\Setup\Patch\Data\AddProductAttributes for module Meta_Catalog. Original exception message: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '10-General' for key 'EAV_ATTRIBUTE_GROUP_ATTRIBUTE_SET_ID_ATTRIBUTE_GROUP_NAME', query was: UPDATE `eav_attribute_group` SET `attribute_set_id` = ?, `attribute_group_name` = ?, `default_id` = ? WHERE (`attribute_group_id`='24')
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

No branches or pull requests

1 participant