Terms not being created when module installed through config import

Created on 5 May 2020, about 4 years ago
Updated 23 November 2023, 7 months ago

When you install Currency Taxonomy from the UI or from Drush the terms get created as intended. BUT when Currency Taxonomy gets installed from configuration import drush -y cim the terms don't get created, only the vocabulary gets created.

As a workaround it probably would be a good idea to at least provide a simple form under /admin/config/content/currency_taxonomy that has a submit button to manually trigger _currency_taxonomy_add_terms() and maybe also checks if terms with the same name inside the currencies vocabulary exist yet.

Steps to reproduce

  1. Vanilla Drupal standard installation drush -y site:install --site-name="Hello World" --account-name=admin --account-pass=admin
  2. Install Currency Taxonomy -> Terms are there
  3. Export config drush -y cex
  4. Save the site UUID somewhere drush -y cget system.site uuid
  5. Drop database, reinstall Vanilla Drupal standard installation (step 1.)
  6. Set site UUID from step 3. drush -y cset system.site uuid YOUR-SITE-UUID
  7. (Fix shortcut set drush -y edel shortcut_set)
  8. Import config drush -y cim -> vocabulary is there, terms are not there
πŸ› Bug report
Status

Fixed

Version

2.0

Component

Code

Created by

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.69.0 2024