Enabling the module alters the language setting in language.entity.en.yml

Created on 14 June 2024, 5 months ago

This happens on a Drupal 9 website with groups 2.x and two languages installed (English and German).

Problem/Motivation

After installing the module via composer and enabling it with drush I wanted to export the configuration with drush cex. This gave me a huge amount of deleted english yml files. The reason was that the settings for language.entity.en.yml was modified.

Content before enabling webform_group

uuid: e2d24515-f646-4199-b9b1-1db035941d3f
langcode: en
status: true

Content after enabling webform_group

uuid: e2d24515-f646-4199-b9b1-1db035941d3f
langcode: de
status: true

Steps to reproduce

  1. 1. Add a second language (ie. German)
  2. 2. Install webform_group
  3. 3. Enable webform_group
  4. 4. Try to export the configuration with drush cex

At the moment I use this workaround:

  1. 1. Before drush cex I backup all files in config/sync/language/en/
  2. 2. Enable the module
  3. 3. drush cex
  4. 4. Change langcode in config/sync/language.entity.en.yml back to "en"
  5. 5. Restore the backupped files to config/sync/language/en/
  6. 6. drush cim

After these step everything works fine.

🐛 Bug report
Status

Active

Version

1.0

Component

Code

Created by

🇩🇪Germany saccard

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

Comments & Activities

Production build 0.71.5 2024