I am migrating from M1 enterprise to M2 enterprise. I have installed the data migration tool and created my own custom plugin to override some of the settings. I created the following files:
All of the above files were copied from the module directories. I then simply added some additional ignore overrides into the maps (for some custom tables and such) and modified the config to point to my customized files (leaving all other files pointing to the default files).
From everything I’ve read, the basic settings and data should be transferred over automatically without any other coding. When I run the migration tool, I do not get any errors. I get a few warnings about unserializing data failing. When it completes I am finding a bunch of things not working properly and I’m not sure how to debug.
For categories, the category name and url_key are not being copied over
In the map.xml file I noticed that it is ignoring the category url key table:
I assume this is the issue? In looking this up I think that in M2, the category url keys are stored in the catalog_category_entity_varchar table and there is no url_key table. I’m not sure how we’re supposed to map this table to the varchar table?
Products were transferred over, however all of the attributes appear to be blank. None of the values were copied over.
Also, when I attempt to view a product in the admin, I get the following error:
Fatal error: Uncaught TypeError: Argument 2 passed to MagentoFrameworkStdlibArrayManager::set() must be of the type array, null given, called in /var/www/magento/vendor/magento/module-catalog-staging/Ui/DataProvider/Product/Form/Modifier/ScheduleDesignUpdate.php on line 64 and defined in /var/www/magento/vendor/magento/framework/Stdlib/ArrayManager.php:72 Stack trace: #0 /var/www/magento/vendor/magento/module-catalog-staging/Ui/DataProvider/Product/Form/Modifier/ScheduleDesignUpdate.php(64): MagentoFrameworkStdlibArrayManager->set('data/config/lab...', NULL, 'Design') #1 /var/www/magento/vendor/magento/module-catalog/Ui/DataProvider/Product/Form/ProductDataProvider.php(73): MagentoCatalogStagingUiDataProviderProductFormModifierScheduleDesignUpdate->modifyMeta(Array) #2 /var/www/magento/vendor/magento/framework/View/Element/UiComponentFactory.php(318): MagentoCatalogUiDataProviderProductFormProductDataProvider->getMeta() #3 /var/www/magento/vendor/magento/framework/View/Element/UiComponentFactory.php(218 in /var/www/magento/vendor/magento/framework/Stdlib/ArrayManager.php on line 72
Do you have to do something special to transfer over the attributes? I thought all of the default attributes would be copied over?