Hi,
I am in the process of migrating my M 1.9 store to M 2.2.6. I am using the latest migration tool.
The setting migration went fine with no issue. but the data migration given many errors. I skipped few with -a option.
But now stuck on this below.
[PDOException]
SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '1-Migration_Default' for key 'EAV_ATTRIBUTE_SET_ENTITY_TYPE_ID_ATTRIBUTE_SET_NAME'
Any suggestion will be highly appreciated.
Thanks.
Hello @gouri_dash,
The error from the first screenshot has a hint. You probably migrate data for the second attempt without reverting DB of Magento 2 to its initial state.
Please revert back and try it.
--
If my answer is useful, please Accept as Solution & give Kudos
Hello @gouri_dash,
Went to eav_attribute table, looked for attribute_id of 556, 557, 584, 585. Found the entity_type_id was 4 for all those. eav_entity_type table says entity_type_id of 4 is entity_type_code "catalog_product". So, same as the included examples in eav-attribute-groups.xml.dist.
eav_attribute table lists the attribute_code for those IDs as ugiftcert_email_template, ugiftcert_email_template_self, ugiftcert_pdf_settings, ugiftcert_conditions.
Resulting xml:
<group name="ignore"> <attribute type="catalog_product">msrp_enabled</attribute> <attribute type="catalog_product">group_price</attribute> <attribute type="catalog_product">ugiftcert_email_template</attribute> <attribute type="catalog_product">ugiftcert_email_template_self</attribute> <attribute type="catalog_product">ugiftcert_pdf_settings</attribute> <attribute type="catalog_product">ugiftcert_conditions</attribute> </group>
This is an example of data migration process. So you have to add same things for your attribute.
--
If my answer is useful, please Accept as Solution & give Kudos