Problem/Motivation

‘cookies_matomo’ blocks JavaScript on all sites if the ‘Aggregate JavaScript files’ option is enabled on the ‘/admin/config/development/performance’ page.

This bug also exists in version 2.0.x of the module.

Steps to reproduce

‘cookies_matomo’ blocks JavaScript on all sites if the ‘Aggregate JavaScript files’ option is enabled on the ‘/admin/config/development/performance’ page.

  1. For example, the JavaScript for the ‘photoswipe’ module no longer works:
  2. install the ‘photoswipe’ module
  3. display an image with the ‘photoswipe’ formatter
  4. and you can see that when you click on the image, it is displayed as a simple link and not with ‘photoswipe’.
  5. If you uninstall ‘cookies_matomo’ or disable the ‘Aggregate JavaScript files’ option in ‘/admin/config/development/performance’, then ‘photoswipe’ will work correctly again...

Comments

steveoriol created an issue. See original summary.

steveoriol’s picture

Title: ‘cookies_matomo’ is blocking JavaScript from all sites if the ‘Aggregate JavaScript files’ option is enabled. » ‘cookies_matomo’ is blocking JavaScript from the all site if the ‘Aggregate JavaScript files’ option is enabled.
steveoriol’s picture

Issue summary: View changes
steveoriol’s picture

Priority: Normal » Major

This also blocks conditional fields in webforms.