Domain config values differ from original module config values

Created on 5 February 2025, 3 months ago
Updated 10 February 2025, 3 months ago

Drupal Version

Drupal: 10.4.1
PHP: 8.3.15
Drush: 12.5.3.0

Domain module version

2.0.0-beta2

Expected Behavior

Domain Configuration format matches format from module.

We are using the Domain Configuration and have experienced an issue while using configuration settings with the External Links (extlink) module. This module uses a number of checkboxes for features and those are stored in configuration as `true` or `false`. The module uses those values to output code. Example: aria-hidden="true" The values for config settings in External Links

Actual Behavior

Domain configuration uses different format than module configuration.

Steps to reproduce

- Install Domain module
- Install External Link module
- Add path for External Links module in Domain Configuration UI
- Enable Domain Configuration for External Link
- Change a setting like "Hide decorative icons from screen readers."
- View the config setting in extlink.settings.yml: extlink_hide_icons: true
- View the config setting in domain.config.[domain].en.extlink.settings.yml: extlink_hide_icons: 1

In this particular case the External Links module is outputting that value, so on a domain it will render aria-hidden="1" which is not valid.

🐛 Bug report
Status

Active

Version

2.0

Component

- Domain Config

Created by

🇺🇸United States NathanDanielsonCOM

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024