Shipping Name is too Long

Hi,
When I try migrate step 7 
Status: fail
Message: Mage2SalesShipmentGrid: Shipping Name is too long (maximum is 128 characters).

Can someone tell me which field and table can i locate it?
Thanks.

15 answers

Profile photo of Mall Staff 184060.00 $tone May 19, 2017
Public

Hi there,
So, kindly download the php file at https://drive.google.com/file/d/0B4UfTo5yHHTKMWUwYlFaekp4aG8/view?usp=sharing
and upload replace it to the file at: pub/ub-tool/protected/controllers/Step7Controller.php
And then, you can continue with data migration in the step #7
Regards,
Mall.

#3
Profile photo of Mall Staff 184060.00 $tone May 22, 2017
Public

Hi there,

https://drive.google.com/file/d/0B9HkaWs8-xG_MndmU01RaHA0Slk/view?usp=sharing

To solve that issue lets do steps as bellow:
-- Open the php file at pub/ub-tool/protected/controllers/Step7Controller.php
and find to the code line:

if (in_array($key, array('price', 'base_price', 'price_incl_tax', 'base_price_incl_tax', 'row_total', 'base_row_total', 'row_weight', 'row_total_incl_tax', 'base_row_total_incl_tax')) AND strlen($val) > 12) {

and replace it by code line:

if (in_array($key, array('weight', 'price', 'base_price', 'price_incl_tax', 'base_price_incl_tax', 'row_total', 'base_row_total', 'row_weight', 'row_total_incl_tax', 'base_row_total_incl_tax')) AND strlen($val) > 12) {

And then, you can continue with data migration in the step #7: 
php -f bin/ubdatamigration run --step=7
And tell me know how it goes.
Regards,
Mall.

#10

Please login or Register to Submit Answer

Written By

Comments