Bartik logo not found at language subpath

Created on 1 August 2022, over 2 years ago
Updated 17 January 2023, almost 2 years ago

Problem/Motivation

In the Recent log messages there is the warning,

page not found /fr/core/themes/bartik/logo.svg

But in the Bartik theme code the image logo.svg exists,
/core/themes/bartik/logo.svg

Steps to reproduce

Open the menu link /admin/appearance/settings/bartik.
Watch the recent log messages page /admin/reports/dblog.

Proposed resolution

With the full url, if we remove the langcode part the image displays.
Therefore the problem may be bounded to the langcode in the url.
In the theme code there is a file,
/core/themes/bartik/color/preview.html
with the line,
<div class="color-preview-logo"><img src="../../../core/themes/bartik/logo.svg" alt="Site Logo" /></div>
In our case the change,
<div class="color-preview-logo"><img src="/core/themes/bartik/logo.svg" alt="Site Logo" /></div>
makes the problem disappear.

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet

💬 Support request
Status

Postponed: needs info

Version

1.0

Component

Code

Created by

🇫🇷France Chris64 France

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

No activities found.

Production build 0.71.5 2024