Step 7 : Sales order migration error

Hi,
I have an error on Magento 2.2.4 with Sales Order Data migration. I try upgrade to 2.2.5 and it’s same :
Processing in step #7……………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………..[Processing] Step #7 migration completed with 43 Sales Rules;
Processing in step #7……………………….[Processing] Step #7 migration completed with 16 Sales Order Statuses;
Processing in step #7…
Status: fail
Message: Property “Mage2SalesOrder.gift_message_id” is not defined.
I see this issue : #25
But Magento_GiftMessage is enable.
I haven’t problems for others steps

3 answers

Profile photo of Mall Staff 184060.00 $tone July 3, 2018
Public

Hi there,

Message: Property “Mage2SalesOrder.gift_message_id” is not defined.

The sales_order.gift_message_id field related to the M2 core module named Magento_GiftMessage.
You could view this is screenshots on M 2.2.5 fresh instance: http://i.prntscr.com/w-SIB3ZRSLue0F2wIWZ6Eg.png
Seem you got something wrong during install your current M2 instance. Let’s try do steps below to re-install module Magento_GiftMessage:
+ Run below SQL statement in M2 database:

Delete From setup_module Where module = 'Magento_GiftMessage';

+ Once done, run CLI command: php -f bin/magento setup:upgrade
+ And the, continue with data migration in the step #7 by run CLI command:
php -f bin/ubdatamigration run --step=7
And tell me know how it goes then.
Regards,
Mall.
 
 

#1
Profile photo of zipzip29 10.00 $tone July 3, 2018
Public

Thank you for your reply.
It work fine.
Your module is really great, i import 200 000 products and now i’m 100% imported, 1.9 => 2.2.5

#2
Profile photo of ubdev Staff 98590.00 $tone July 3, 2018
Public

Hi there, 
It’s great to hear that. 
Should you have any additional question, please get back to us here, we will help you out.
Sincerely,
Ubertheme team 

#3

Please login or Register to Submit Answer

Written By

Comments