Link to set a theme as default for a domain is missing domain_config_ui_domain querystring

Created on 24 June 2021, about 3 years ago
Updated 28 May 2024, 28 days ago

Original report by @burningdog -- https://github.com/agentrickard/domain/issues/520

Drupal Version

9.1.4

Domain module version

8.x-1.x

Expected Behavior

I'd like to set a theme as default for a domain (called example) at /admin/appearance using Domain Config UI.

On that page I select the domain from the Domain Configuration and the url correctly changes to /admin/appearance?domain_config_ui_domain=example&domain_config_ui_language.

Actual Behavior

If I click the Set as default link the theme is incorrectly set as default for all domains instead of just for the example domain.

The Set as default link for the desired theme for that domain is incorrect. It is
/admin/appearance/default?theme=material_admin&token=[redacted] but it should be
/admin/appearance/default?domain_config_ui_domain=example&theme=material_admin&token=[redacted]

If I paste the 2nd link into the address bar, then the theme is correctly set as default for the desired domain (and that domain only).

Steps to reproduce

I was able to reproduce locally. It looks like a behavior change in Drupal 9.

🐛 Bug report
Status

Needs work

Version

2.0

Component

- Domain Config UI

Created by

🇺🇸United States agentrickard Georgia (US)

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

Merge Requests

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.69.0 2024