When core js aggregation is enabled, Opigno dashboard page (homepage) is empty.

Created on 23 January 2024, 10 months ago

Problem/Motivation

When core js aggregation is enabled, Opigno dashboard page (homepage) is empty because of js scripts errors.

The errors:
Uncaught SyntaxError: Identifier 'D' has already been declared
Uncaught ReferenceError: jQuery is not defined

See js-aggregated-errors.png screen.

Steps to reproduce

  • Enable js aggregation on Drupal performance page - /admin/config/development/performance
  • Go to Opigno dashboard page - homepage, the page will be empty, browser console contains js errors

Proposed resolution

The opigno_dashboard module minified js scripts must be set as "minified" in a library yml file.

🐛 Bug report
Status

Active

Version

3.1

Component

Code

Created by

🇺🇦Ukraine yuriy.korzhov

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

Comments & Activities

Production build 0.71.5 2024