magento / magento/data-migration-tool

Data Migration Tool does not support migrating non-default entity-types and/or attribute set groups.

Open
#847 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
PHP
Stars
339
Forks
195
PR merge metrics
No merged PRs in 30d

Description

Data Migration Tool does not support migrating non-default entity-types and/or attribute set groups.

### Preconditions
1. Magento 2.3.5
2. Magento 2 already filled with certain other attributes
3. Magento 1.9.3.10 database

### Steps to reproduce

1. Have a Magento 2 with additional attributes and attribute set groups for non-product types.
2. I had attribute set group "Subnavigation Styling" for entity type Category

### Expected result
1. Migratio Tool should migrate all attribute set groups.

### Actual result
1. Notice: Undefined offset: 18 in https://github.com/magento/data-migration-tool/blob/2.4-develop/src/Migration/Step/Eav/Data.php#L502

### Additional notes

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start in src/Migration/Step/Eav/Data.php around line 502 and reproduce the migration with Magento 1.9.3.10 and Magento 2.3.5, including the Category attribute set group "Subnavigation Styling". Trace why the non-default entity type or attribute set group produces the undefined offset, then verify that all attribute set groups migrate without that notice.

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
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.