site_name unavailable

Created on 13 November 2024, 1 day ago

I noticed that my website logo image started having an empty alt tag. In the past this was containing site_name info.

To temporarily fix this, I changed my block--system-branding twig template as follows:

alt="{{ site_name|default('My website') }}"

Did anything change over the last Drupal 10.3.* versions that may have created this bug?

🐛 Bug report
Status

Active

Version

10.3

Component

system.module

Created by

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

Comments & Activities

  • Issue created by @sd123
  • function system_preprocess_block, which is what establishes this value, hasn't changed in 7 years, and the particular section that sets site_name hasn't changed in 10 years.

    We'll have to investigate and gather more information from you to understand what is going on.

    On which version of Drupal was this last working?

    Can we get full bug reproduction steps on a clean Drupal 10.3 install?

    If you would like to perform a git bisect on a Git working copy of Drupal Core, you will quickly find the regression commit.

Production build 0.71.5 2024