Gin theme breaking profile installation

Created on 21 February 2025, 3 months ago

Problem/Motivation

The Gin theme is causing a custom profile installation to break when it is set as the default admin theme.

Steps to reproduce

In the profile configuration (config/install/system.theme.yml), set the following:

admin: gin
default: olivero

2- In profilename.info.yml, define the theme settings:

distribution:
  name: profilename
  install:
    theme: gin

3- Run the Drupal installation process.

4- The installation fails with an error (see attached image).

Proposed resolution

Validate that the user is anonymous before checking permissions in the preprocess hook to avoid conflicts during installation.

πŸ› Bug report
Status

Active

Version

4.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States ahmadhalah

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

Comments & Activities

Production build 0.71.5 2024