Dependency on jquery/once needs to be refactored out for D10 Compatibiity

Created on 23 July 2023, over 1 year ago
Updated 8 September 2023, about 1 year ago

Problem/Motivation

Reference: https://www.drupal.org/node/3158256 β†’

Report from upgrade_status module, after applying patch from issue https://www.drupal.org/project/mautic_paragraph/issues/3363562 ✨ Support D10 Fixed , reports the following outstanding issue:

The 'admin_mautic_layout' library is depending on a deprecated library. The core/jquery.once asset library is deprecated in Drupal 9.3.0 and will be removed in Drupal 10.0.0. Use the core/once library instead. See https://www.drupal.org/node/3158256

js/mautic.admin.js needs to possibly be refactored to remove dependencies on any code in core/jquery.once, and factor in code (if needed) from core/once instead.

mautic_paragraph.libraries.yml will also need to be refactred to remove the declared dependencies on core/jquery.once.

πŸ“Œ Task
Status

Fixed

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States lhridley

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

Comments & Activities

Production build 0.71.5 2024