data-migration-tool icon indicating copy to clipboard operation
data-migration-tool copied to clipboard

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

Open victortodoran opened this issue 8 years ago • 6 comments

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

victortodoran avatar Mar 09 '18 12:03 victortodoran

Hi @victortodoran

Thank you for posting this issue. We have a similar ticket for improvement (MAGETWO-52479) in our backlog.

victor-v-rad avatar Mar 12 '18 12:03 victor-v-rad

@victor-v-rad do we have any hotfix here?

roma-glushko avatar Apr 18 '18 14:04 roma-glushko

Not yet. But you can change attribute sets in admin panel after migration

victor-v-rad avatar Apr 19 '18 12:04 victor-v-rad

@victor-v-rad Any updates for this issue?

RahulKachhadia avatar May 22 '18 13:05 RahulKachhadia

Any update?

php4umagento avatar Oct 22 '18 14:10 php4umagento

I have the same issue here. All my products and categories have the Migration_Default attribute set but any new ones have the Default set. SO an entity type id can be matched against two attribute set ids

attribute_set_id | entity_type_id | attribute_set_name ... 3 | 3 | Migration_Default ... 20 | 3 | Default

bassmo avatar Sep 04 '19 08:09 bassmo