HTML code not added in new version

Created on 27 May 2025, 10 days ago

I am using Drupal 10.4.7 and upgraded from 2.0.1 to 3.0.0.

Unfortunately, this breaks the module: no favicon tags are added to the HTML code. Downgrading to 2.0.1 fixed the issue.

🐛 Bug report
Status

Active

Version

3.0

Component

Code

Created by

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

Comments & Activities

  • Issue created by @sd123
  • 🇫🇷France mably

    More than one thousand sites are using the 3.x version without any problem.

    You must provide more information to enable further investigation.

  • What information do you need?

  • 🇫🇷France mably

    A repeatable scenario allowing to reproduce the bug on a fresh Drupal 11 instance for example.

  • <link rel="icon" type="image/png" href="/favicon-96x96.png?v=blJXMRWeAF" sizes="96x96" />
    <link rel="icon" type="image/svg+xml" href="/favicon.svg?v=blJXMRWeAF" />
    <link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png?v=blJXMRWeAF" />
    <meta name="apple-mobile-web-app-title" content="AsterX" />
    <link rel="manifest" href="/site.webmanifest?v=blJXMRWeAF" />

    The following files exist:
    sites/default/files/favicons/apple-touch-icon.png
    sites/default/files/favicons/favicon.svg.gz
    sites/default/files/favicons/web-app-manifest-192x192.png
    sites/default/files/favicons/favicon-96x96.png
    sites/default/files/favicons/site.webmanifest
    sites/default/files/favicons/web-app-manifest-512x512.png
    sites/default/files/favicons/favicon.svg
    sites/default/files/favicons/site.webmanifest.br
    sites/default/files/favicons/favicon.svg.br
    sites/default/files/favicons/site.webmanifest.gz

    https://test.asterx.be/ is running version 3.0.0
    https://asterx.be/ is running version 2.0.1

  • 🇫🇷France mably

    Have you tried removing those ?v=blJXMRWeAF parameters from your icons urls?

    They should not be there.

  • ok, that helped, but is there a reason why a cashbusting parameter is not allowed in version 3.0.0?

    Is this a bug or do I need to alter from now on the filenames when I update the favicon files? (I am using Cache-Control "public, max-age=31536000, immutable" HTTP Header in nginx)

  • 🇫🇷France mably

    The cache busting parameter should be added automatically.

    As you can see there: https://www.bordeaux.fr

  • Is this a Drupal 11 feature as I see no parameter on my test site?

  • 🇫🇷France mably

    It's a Drupal standard feature that has been added to the 3.x version of the module.

  • That's a Drupal 11 feature? Maybe a note should be added in the docs for those who do not yet use Drupal 11?

  • 🇫🇷France mably

    That's not a Drupal 11 feature.

    Do not reopen this issue but rather create another issue if you have a specific documentation request to make.

Production build 0.71.5 2024