Sales import

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

Profile photo of Mall Staff 184060.00 $tone November 18, 2016
Public

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.
 

#1

Please login or Register to Submit Answer

Written By

Comments