When js aggregation is enabled, Opigno group manager learning path manager page is broken

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 error.

The error:
Uncaught SyntaxError: Identifier 'D' has already been declared

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_group_manager 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