Claro installed by recipes has incorrect block config

Created on 3 July 2023, about 2 years ago

Problem/Motivation

I am building a recipe to for a basic startup of new projects. I want to use "minimal" profile and then enable claro and other modules. When using recipes, it seems because the installation of the extension happens in a separate step as the configuration, Drupal core will duplicate Stark's (minimal's default theme) blocks. Even by specifying the configs in recipe.yml doesn't help because in the end I have both sets of blocks

Steps to reproduce

- Fresh install with minimal profile
- Simple recipe with claro
- Optionally specify config section in recipe.yml to import Claro's config (must skip help because of dependency)

Proposed resolution

Not sure yet, but maybe if I am importing configs provided by module, they could be imported during installation?

Note: the code that performs the block duplication runs after any module/theme/profile installation, except during site installation: https://git.drupalcode.org/project/drupal/-/blob/9.5.3/core/modules/bloc...

๐Ÿ› Bug report
Status

Active

Version

10.0

Component

Code

Created by

๐Ÿ‡จ๐Ÿ‡ฆCanada franz Montrรฉal

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

Comments & Activities

Production build 0.71.5 2024