Configuration with missing langcode show 1 error, but don't show the error message anywhere

Created on 21 March 2025, 16 days ago

Problem/Motivation

When a configuration object contains translatable elements, but do not have the langcode key, it displays "1 error", but the actual error message cannot be seen anywhere.

Steps to reproduce

- Install Drupal and config inspector.
- Export configuration to a folder.
- Edit manually a configuration file ( for example system.maintenance.yml ) and remove the langcode.
- Import the configuration again.
- On the config inspector list ( /admin/reports/config-inspector ), it will show 1 data error on the edited configuration.
- Enter the List, Tree, Form and Raw data pages, the error message is not visible anywhere.

Proposed resolution

Make sure all the error messages are displayed at least in the List and Tree pages, even if they have not an associated configuration key/attribute.

User interface changes

Add an UI element on top of the List and Tree pages, to display those errors.

โœจ Feature request
Status

Active

Version

2.1

Component

Code

Created by

๐Ÿ‡ช๐Ÿ‡ธSpain guiu.rocafort.ferrer Barcelona

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