magento / magento/data-migration-tool

Magento 2. Data Migration creates new attributes sets for default magento attribute sets

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

Nobody has claimed this yet.

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

Description

Preconditions
PHP 7.0.20
MYSQL 5.7
Magento 1.12.0.2 EE >data-migration> Magento 2.2.2 || Magento 2.18 CE

Steps to reproduce
Migrate data using data-migration-tool for above mentioned versions

Expected result

Attribute set with given attribute_set_id,entity_type_id, attribute_set_name combination(from source) to map to existing destination attribute_set.
To be more explicit I expect that default Magento 1 attribute_sets to simply map to default Magento 2 attribute sets and not duplicate.

Actual Result
Default Magento attribute_sets are duplicated and Magento 1 attribute sets take the existing Magento 2 attribute_set_ids.

I'm not sure if this a bug or a feature.
If this is a feature what is the reason behind it?
What am I supposed to do with the duplicated attribute_sets
Migration_Default attribute sets take Magento 2 default attribute set ids so removing them is not an option as Magento 2 hardcodes attribute_set_ids in core code.

![export](https://user-images.githubusercontent.com/25669334/37207439-ab9d221e-23a5-11e8-9065-c4b30e97a2d1.png)

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 with the data-migration-tool migration described in the issue using the stated Magento, PHP, and MySQL versions, then compare source and destination attribute sets and their IDs. Done means default Magento 1 attribute sets map to the existing Magento 2 sets without duplicate sets or replacement of the destination IDs.

Written by the indexing model from the issue text.

Assessment

Tech stack
mysql, php
Domain
data-engineering, databases
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.