domain.settings configuration objects fail schema validation

Created on 21 March 2025, about 2 months ago

Drupal Version

10.4.5

Domain module version

2.0.x

Steps to reproduce

- Install domain module.
- Install config_inspector module ( https://www.drupal.org/project/config_inspector ).
- Apply this patch to config_inspector ( https://git.drupalcode.org/project/config_inspector/-/merge_requests/27.... ).
- Visit "admin/reports/config-inspector" page.
- The "domain.settings" configuration object shows "1 error" in the Data column.
- Go to the "List" link for the configuration ( admin/reports/config-inspector/domain.settings/list ).
- On the top of the page, you can see the error message "The domain.settings config object must specify a language code, because it contains translatable values."

Proposed solution

Set login_paths and css_classes as non translatable in the domain.settings configuration schema. The text type is set as translatable by default in core.

🐛 Bug report
Status

Active

Version

2.0

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