Language module is installed without default languages

Created on 7 January 2025, 3 months ago

Problem/Motivation

People are reporting 🐛 Call to a member function set Weight() on null in Drupal\language\Configurable LanguageManager->updateLockedLanguageWeights() Needs work in slack.

The fatal error is a bug in core, but I think there is also a bug in Drupal CMS.

If I install Drupal CMS via the UI without selecting any language or anything, I get language module installed, but I do not get the languages that language module ships with in config/install - e.g. my site is in English but I don't have 'English' as a configurable language.

Steps to reproduce

Proposed resolution

rop language module as a dependency of the drupal_cms_seo_basic recipe - it should be added as part of a multilingual recipe instead.

Or at least add the correct default config to that recipe so it doesn't fatal.

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Active

Component

Base Recipe

Created by

🇬🇧United Kingdom catch

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