[PP-1] Resolve Circular Dependency to make system.theme validatable

Created on 29 April 2024, 8 months ago
Updated 3 May 2024, 8 months ago

Problem/Motivation

This was discovered in 📌 Add validation constraints to system.theme Needs work and is postponed on that issue.

Currently, the 'system' module must be installed before the 'stark' theme can be installed. 'Stark' is set as the default theme in the `system.theme.yml` file of the 'system' module, unless an installation profile specifies an alternative default theme. This configuration results in a circular dependency issue that needs to be addressed in this particular issue.

Steps to reproduce

Proposed resolution

  1. Change
    default: stark
    

    in core/modules/system/config/install/system.theme.yml to

    default: null
    
  2. When the first theme is installed, assign its name to system.theme:default.

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet

🐛 Bug report
Status

Active

Version

11.0 🔥

Component
System 

Last updated 3 days ago

No maintainer
Created by

🇮🇳India narendraR Jaipur, India

Live updates comments and jobs are added and updated live.
  • Needs tests

    The change is currently missing an automated test that fails when run with the original code, and succeeds when the bug has been fixed.

Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024