magento / magento/data-migration-tool

SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '11-general' for key 'EAV_ATTRIBUTE_GROUP_ATTRIBUTE_SET_ID_ATTRIBUTE_GROUP_CODE'

Open
#869 14 comments 6 reactions 0 assignees View on GitHub
Dominant language
PHP
Stars
339
Forks
195
PR merge metrics
No merged PRs in 30d

Description

### Preconditions
1. Magento 1.9.4.3 to Magento 2.4.2 data migration
2. 2.4.2 Data migration tool

### Steps to reproduce
1. bin/magento migrate:data

### Actual result
1. SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '11-general' for key 'EAV_ATTRIBUTE_GROUP_ATTRIBUTE_SET_ID_ATTRIBUTE_GROUP_CODE'

### Additional notes
Migration runs successfully using M2.4.1 & 2.4.1 migration tool.

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the migration with Magento 1.9.4.3, Magento 2.4.2, and the 2.4.2 Data Migration Tool using bin/magento migrate:data. Compare the result with Magento 2.4.1, then investigate the EAV_ATTRIBUTE_GROUP_ATTRIBUTE_SET_ID_ATTRIBUTE_GROUP_CODE duplicate-entry failure; done means the migration completes without this constraint violation.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
databases
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.