Hi there,
While trying migrate products we see this error message in terminal.
[Processing][run] in step #5: type_id IN (‘simple’,’configurable’,’grouped’,’virtual’,’bundle’,’downloadable’)
……………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………..
Status: fail
Message: Mage2CatalogProductBundleOption: Parent Id cannot be blank.<br/>Mage2CatalogProductBundleOption: Parent Id cannot be blank.<br/>Mage2CatalogProductBundleOption: Parent Id cannot be blank.<br/>Mage2CatalogProductBundleOption: Parent Id cannot be blank.<br/>Mage2CatalogProductBundleOption: Parent Id cannot be blank.<br/>Mage2CatalogProductBundleOption: Parent Id cannot be blank.
Our Magento ver 2.3.4 and UBDataMigrationPro-Package_3.2.3_for_Magento_ver.2.3.1_and_above.
Could please help us complete our product migration?
Thanks in advance.
1 answer
Hi there,
Message: Mage2CatalogProductBundleOption: Parent Id cannot be
It seems that your M1 database had some bad data records in the ‘catalog_product_bundle_option’ table.
You can run the following SQL query in your M1 database to look for those data records:
SELECT * FROM `catalog_product_bundle_option` WHERE parent_id NOT IN (Select entity_id From catalog_product_entity);
and then, you have to delete all found data records.
Once done, you can continue with the data migration in step #5 as normal.
Regards,
Mall.