Preview has an incorrect link to /themes/contrib/bootstrap-business/logo.svg

Created on 21 January 2023, almost 2 years ago
Updated 20 March 2023, over 1 year ago

Problem/Motivation

Link to the logo is incorrect and causes a page not found error when viewing the Preview

Steps to reproduce

Enable color module
Visit: /admin/appearance/settings/bootstrap_business
view the preview with the missing logo
then go to the Watchdog log.
admin/reports/dblog
See the page not found error for /themes/contrib/bootstrap-business/logo.svg

Proposed resolution

Rename the directory reference in the Preview HTML file to be bootstrap_business from bootstrap-business

Remaining tasks

Alter the file and create a PR

🐛 Bug report
Status

Needs review

Version

1.0

Component

Code

Created by

🇬🇧United Kingdom the_g_bomb

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

Comments & Activities

  • Issue created by @the_g_bomb
  • @the_g_bomb opened merge request.
  • Status changed to Needs review almost 2 years ago
  • 🇮🇳India rinku jacob 13 Kerala

    I can't able to reproduce the issue on drupal version 9.5.x. Followed the steps which is mentioned above ,but still i didn't got any error's on dblog. Can any one please check on this.

  • 🇬🇧United Kingdom the_g_bomb

    I see now that color module has been switched off by default, so enabling that needs to be added to the steps.
    Without the color module enabled the theme preview no longer shows, which is where the issue can be seen:

    New step enable color module needs to be added:

    But with that enabled you can seen the missing logo in the preview and then also see the error in the watchdog.

Production build 0.71.5 2024