Delta

Hi Ubertheme,
 
At the delta migration at step 7 this happens
Message: CDbCommand failed to execute the SQL statement: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry ‘62933’ for key ‘PRIMARY’. The SQL statement executed was: INSERT INTO `quote_item_option` (`option_id`, `item_id`, `product_id`, `code`, `value`) VALUES (:yp0, :yp1, :yp2, :yp3, :yp4)

3 answers

Profile photo of Mall Staff 184060.00 $tone November 5, 2019
Public

Hi there,

1062 Duplicate entry ‘62933’ for key ‘PRIMARY’. The SQL statement executed was: INSERT INTO `quote_item_option`

That issue occurred because you checked the ‘KEEP ORIGINAL IDs’ setting in step #7. And you did add some testing sales orders after the first migration with our module.
 
Please try the following steps:
+ Run the SQL below in your M2 database:

Delete From quote_item_option Where option_id = 62933;

+ Once done, continue with the data migration in step #7.

Regards,
Mall.

#1
Profile photo of Mall Staff 184060.00 $tone November 6, 2019
Public

Hi there,

But the extra orders that were created were deleted because I put back a databasebackup.

Please note that the duplicated issue happened on sales quotes data which was added in M2 after the first migration.

I will try this command.

Yes, please follow the steps as suggested in my reply #1. And contact me if you need further assistance.

Regards,
Mall.

#3

Please login or Register to Submit Answer

Written By

Comments