-
Notifications
You must be signed in to change notification settings - Fork 197
Open
Labels
Description
Preconditions
- Setup a custom module for the migration as recommended by Magento here
Steps to reproduce
- Setup a custom module for the migration
- In your config.xml file, point
eav_attribute_groups_file
to a file in<your Magento 2 install dir>/app/code/Vendor/Migration/etc/.../eav_attribute_groups.xml
- Run the migration
bin/magento migrate:data app/code/Vendor/Migration/etc/.../config.xml
Expected result
- The migration should run with the values from our own eav_attribute_groups.xml file
Actual result
- The migration tool tries loading the eav_attribute_groups.xml file from the root of the vendor/magento/data-migration-tool and it throws an error that the file isn't found.
- `In Groups.php line 54:
Invalid groups filename: /var/www/html/vendor/magento/data-migration-tool/app/code/{vendor}/Migration/etc/opensource-to-opensource/1.7.0.2/eav-attribute-groups.xml`
Additional notes
- If you copy your
eav-attribute-groups.xml
into vendor/magento/data-migration-tool/...` it will work just fine - Ideally we should never be touching anything in the vendor directory and all customization and configuration should be done at the local module level
- The
map file
does support using one in your local module directory - It would be great to have the same type of support for the
eav-attribute-groups.xml
file
molotovbliss and marcoaacoliveira