Missing langcode in private_message.settings

Created on 22 August 2025, 11 days ago

Problem/Motivation

The langcode is missing in private_message.settings.
It is needed because the config file contains translatable keys (see type: label in schema.yml)
PS: This is true for both 4.x and 3.x

Related change record (introduced in 10.3.0): https://www.drupal.org/node/3427629

Steps to reproduce

- Install private_message and config_inspector
- Run: drush config:inspect --only-error --detail --list-constraints
- Output:

private_message.settings                           Correct   78%           1 errors   ValidKeys: '<infer>'                        
                                                                                        LangcodeRequiredIfTranslatableValues: null

Proposed resolution

Add missing langcode: en in private_message.settings + add post update hook.

Remaining tasks

do it

User interface changes

None

API changes

None

Data model changes

None

🐛 Bug report
Status

Active

Version

4.0

Component

Code

Created by

🇧🇪Belgium herved

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