Skip to content

Close #5325 fix config_readonly for Quickstart 3.2.x#5326

Merged
joeparsons merged 1 commit intomainfrom
issue/5325-config-readonly
Feb 20, 2026
Merged

Close #5325 fix config_readonly for Quickstart 3.2.x#5326
joeparsons merged 1 commit intomainfrom
issue/5325-config-readonly

Conversation

@trackleft
Copy link
Copy Markdown
Member

@trackleft trackleft commented Feb 18, 2026

Description

Fixes a WSOD caused by config_readonly when accessing certain configuration forms (notably XML Sitemap bundle settings) while using a staged configuration workflow.

Quickstart sites using config staging hit an error due to TranslatableMarkup being treated as an array inside ReadOnlyFormSubscriber::getConfigTargetNames(). This PR adds the static patch from the upstream Drupal.org issue so Quickstart users are not blocked.

The patch is included as a static file rather than referencing a dynamic diff URL so the contents remain fixed and reviewable.

Release notes

  • Fix WSOD on some admin configuration forms when config_readonly is enabled.
  • Applies upstream patch for config_readonly compatibility with newer form structures.

Related issues


How to test

  1. Ensure config_readonly is enabled.
  2. Use a site with config staging enabled.
  3. Go to:
    /admin/config/search/xmlsitemap/settings/node/az_event
  4. Before this change: WSOD + log error.
  5. After this change: form loads normally.

Optional regression checks:

  • Visit other config forms to confirm no new readonly regressions.
  • Run drush cr and confirm no PHP warnings.

Types of changes

Arizona Quickstart (install profile, custom modules, custom theme)

  • Patch release changes
    • Bug fix

Drupal contrib projects

  • Patch release changes
    • Patch or minor level update

Checklist

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes.
  • All new and existing tests passed.
  • My change requires release notes.

@trackleft trackleft added the bug Something isn't working label Feb 18, 2026
@trackleft trackleft self-assigned this Feb 18, 2026
@trackleft trackleft marked this pull request as ready for review February 18, 2026 19:09
@trackleft trackleft requested review from a team as code owners February 18, 2026 19:09
@joeparsons joeparsons moved this to Needs review in 3.2.2 bug-fix patch release Feb 18, 2026
@joeparsons joeparsons added patch release Issues to be included in the next patch release Drupal Waiting on a fix from the Drupal community labels Feb 18, 2026
Copy link
Copy Markdown
Member

@joeparsons joeparsons left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Patch looks OK to me. Seems like the problem might affect any form that uses config_target (?)

@github-project-automation github-project-automation Bot moved this from Needs review to Ready to merge in 3.2.2 bug-fix patch release Feb 20, 2026
@joeparsons joeparsons merged commit be4e53e into main Feb 20, 2026
32 checks passed
@joeparsons joeparsons deleted the issue/5325-config-readonly branch February 20, 2026 17:39
@github-project-automation github-project-automation Bot moved this from Ready to merge to Done in 3.2.2 bug-fix patch release Feb 20, 2026
bberndt-uaz pushed a commit that referenced this pull request Feb 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working Drupal Waiting on a fix from the Drupal community patch release Issues to be included in the next patch release

Projects

No open projects

Development

Successfully merging this pull request may close these issues.

config_readonly module errors out when attempting to change sitemap settings.

3 participants