magento / data-migration-tool

Magento Data Migration Tool
https://devdocs.magento.com/guides/v2.3/migration/bk-migration-guide.html
Open Software License 3.0
334 stars 200 forks source link

Map custom attribute groups #889

Open schnere opened 2 years ago

schnere commented 2 years ago

Description

This PR adds the custom attribute groups to mapProductA [FFP2-Vorlage.pdf](https://github.com/magento/data-migration-tool/files/8079329/FFP2-Vorlage.pdf) ttributeGroupNamesSourceDest Mapping array so that the attributes in the group get also added to the correct group on the destination system. Furthermore the sorting is updated so that the custom attributes are sorted after the default attributes. Therefore 200 is added to the sorting value. I used this value because it is also used in getCustomAttributeSortOrder for attributes.

Fixed Issues (if relevant)

  1. magento/data-migration-tool#888: Custom product attribute groups empty when migrating from 1.9.2.2 to 2.4.3

Manual testing scenarios

  1. Starting with Magento 1.9.2.2 having an attribute set with custom attribute groups with attributes assigned
  2. Migrate data to Magento 2.4.3
  3. The custom attribute group have now attributes assigned again