Got a problem during sales import today. The thing is that the step says still processing, however I don’t see a process running on the server. It appears to be a bug.
Also, is it possible to have more verbose debug, so that it would print what source record is the one with problem?
[error] [ub_data_migration] Mage2SalesShipmentGrid: Customer Name cannot be blank.
3 answers
Hi marcinmf,
[error] [ub_data_migration] Mage2SalesShipmentGrid: Customer Name cannot be blank.
That issue because you have a bad data with field ‘customer_name’ in the table sales_shipment_grid. It’s valu required in Magento 2 but it missing in database of your Magento 1.
To solve that, you can do steps as below:
1 -- Open the php file at the path: pub/ub-tool/protected/controllers/Step7Controller.php
and find to the code lines:
$model2->customer_name = $model->shipping_name;
and replace it by code lines:
$model2->customer_name = $model->shipping_name;
if (empty($model2->customer_name)) {
$model2->customer_name = 'N/A';
}
and then you can continue with data migration in the step #7.
Regards,
Mall.
I’ve had the same issue and tried the above solution but same error. Cleared cache and logged out and in to admin. Any ideas?