commerce_discount migration fails with MigrateDestinationEntityAPI

Created on 5 October 2016, over 8 years ago
Updated 4 May 2025, about 1 month ago

Problem/Motivation

I'm using MigrateDestinationEntityAPI from the migrate_extras module to import commerce_discount entities. This destination plugin thinks that the commerce_discount entity id is 'name' whereas it is 'discount_id', see MigrateDestinationEntityAPI::__construct().

Proposed resolution

Add a destination class to commerce_migrate providing support for commerce_discounts.

Feature request
Status

Closed: outdated

Version

1.0

Component

Code

Created by

🇭🇺Hungary czigor

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.

Production build 0.71.5 2024