magento / magento/data-migration-tool
Data Migration: Default attributes missing in attribute aets if it is not in default Magento 2 attribute set
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 339
- Forks
- 195
- PR merge metrics
- No merged PRs in 30d
Description
Preconditions
- Magento 1.9.4.4, PHP 7.2
- Magento 2.3.5, PHP 7.2
- Data Migration Tool 2.3.5
Steps to reproduce
- Source store has attribute sets with manufacturer attribute
- Magento 2 default attribute set has not the manufacturer attribute in it
- After migration, all migrated attribute sets are missing the manufacturer attribute
Expected result
Attribute Sets have the same attributes as the source store
Actual result
So far i understand following happens:
The Migration Tool copies the default attribute set of Magento 2 and inserts the new attributes from the old store. So the new Attribute Sets have no assigned manufacturer attribute.
It does not reassign the manufacturer attribute to the new / default attribute sets, if the source store attribute sets had this attribute.
Additional, the attribute values of all products are there till the PostProcessing.
The PostProcessing Cleanup deletes the manufacturer values from every product, because the attribute is in no attribute set.
Additional notes
When i add manufacturer to the default attribute set in Magento 2 before data migration, everything works.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing the Data Migration Tool's attribute-set migration entry point and its PostProcessing Cleanup stage described in the report. Compare how source attribute-set assignments are copied when the Magento 2 default set lacks an attribute. Done means migrated sets retain the source attributes and cleanup no longer removes their product values.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- backend, databases
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100