upgrade to 10.4.x (or greater) breaks jquery_piczoomer

Created on 18 March 2025, 20 days ago

Summary of fault:
Following upgrade from Drupal/core 10.3.10 to any version of 10.4.x or 11.x, a previously working jquery function breaks, preventing the site from loading.

Reproducible:
Load Martis Theme, on Drupal 10.3.10, site loads correctly, following upgrade to 10.4.x and clearing caches (drush cr), the site will not load, remains with a blue pulsing dot in the centre of the screen.

Errors, Logs.
No Error message presented, requires FireFox Console to be opened to identify problem.

Identify/correct the change in 10.4.x which causes a jquery function that is defined in themes/custom_theme/libraries.yml to not be found, causing the script to fail (core/misc/drupal.js line 166).

🐛 Bug report
Status

Active

Version

10.4

Component

javascript

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.

  • To reproduce this bug we need a commercial theme Martis and a custom theme. Do I have that right? I am tagging this bug "needs steps to reproduce" so that another community member can set up a reproduction site.

    You could execute a git blame operation on a Git working copy of Drupal core to quickly find the commit that broke your code.

  • @cilefen, Thanks for the quick response.

    The custom theme is a modified variant of Martis commercial theme, I should be able to get the files into a zip package (I am a software klutz) to provide for a maintainer to assist in debug.

    I will try to figure out how to run Git blame operation, see if I can locate the change(s). Thanks for the pointer to that, see how I go.

  • 🇵🇹Portugal HLopes

    Probably been bitten by the asset order change, see

    https://www.drupal.org/project/drupal/issues/3467860 🐛 Logic error in Drupal's lazy load for asset aggregation Active

Production build 0.71.5 2024