When (re-)installing an exported site configuration containing currency translations (inside the sync/language directory), the associated currency is imported, and Commerce Price module responds in commerce_price_configurable_language_insert() by importing a translation. Later, the config importer attempts to RE-create the translation, throwing an error.

This patch adds a simple check on configuration sync status, similar to other checks around Drupal, though most are in install hooks.

Comments

bradjones1 created an issue. See original summary.

  • bojanz committed 8fc1b99 on 8.x-2.x authored by bradjones1
    Issue #2901821 by bradjones1: Don't perform currency translation imports...
bojanz’s picture

Status: Needs review » Fixed

Good catch! Tweaked a bit and committed.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.