commerce1_order:total_price: CommercePrice input array is invalid for destination 'total_price'

Created on 17 January 2023, over 2 years ago
Updated 19 January 2023, about 2 years ago

Problem/Motivation

migrate_message_commerce1_order is flodded with this log commerce1_order:total_price: CommercePrice input array is invalid for destination 'total_price' when trying to migrate orders from D7 to D9.

Steps to reproduce

On your new D9 setup, add the required $databases['migrate']['default'] details to link the D7 DB as the source. Once verified, execute the following code:

drush migrate:import commerce1_order --execute-dependencies

Earlier, I was having the same issue with my custom migration created using the existing commerce_migrate migration. I thought that this is due to my custom migration, but after executing a fresh migration using the provided commerce1_order migration, the same error is happening, hence posting this issue here.

I'm marking this as "major" since a data loss is happening due to this issue!

πŸ› Bug report
Status

Active

Version

3.2

Component

Drupal Commerce 1.x

Created by

πŸ‡ΊπŸ‡ΈUnited States rishi kulshreshtha

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

No activities found.

Production build 0.71.5 2024