Price field values are not migrated when module is enabled during config import

Created on 25 September 2024, 3 months ago

Problem/Motivation

Price field values are migrated onto commerce_currencies fields in commerce_currencies_modules_installed(). But only when $is_syncing is false, meaning that the values are not "migrated" during a deployments when the module is enabled via config import.

Steps to reproduce

- enable the module locally
- commerce_currencies_modules_installed() runs, migrating values via commerce_currencies_batch_migration()
- export configuration
- import configuration on destination site where commerce_currencies is not enabled
- commerce_currencies fields are empty

Proposed resolution

Run the batch logic regardless of $is_syncing.

πŸ› Bug report
Status

Active

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States mrweiner

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024