Update to 7.0 deletes jQuery libraries

Created on 16 August 2024, 4 months ago

Environment:
Drupal Version: 10.3.2
PHP Version: 8.2.20
Database System MySQL Version: 8.0.30

Problem/Motivation

Updating to 7.0 removes jquery libraries
Consequently, after updating to 7.0 attempted to database updates, got the following error:

 [error]   (Currently using Missing or invalid modules The following modules are marked as installed in the core.extension  
configuration, but they are missing:
 * jquery_ui_datepicker
 * jquery_ui_slider
 * jquery_ui_touch_punch

Looking at the output of running:
composer require 'drupal/better_exposed_filters:^7.0'

I can confirm that the above modules were deleted by the update of better exposed filters:

Lock file operations: 0 installs, 1 update, 4 removals
  - Removing drupal/jquery_ui_datepicker (2.1.0)
  - Removing drupal/jquery_ui_slider (2.1.0)
  - Removing drupal/jquery_ui_touch_punch (1.1.1)
  - Removing politsin/jquery-ui-touch-punch (1.0)
  - Upgrading drupal/better_exposed_filters (6.0.6 => 7.0.0)
Writing lock file
Installing dependencies from lock file (including require-dev)
Package operations: 0 installs, 1 update, 4 removals
  - Downloading drupal/better_exposed_filters (7.0.0)
  - Removing politsin/jquery-ui-touch-punch (1.0)
  - Removing drupal/jquery_ui_touch_punch (1.1.1)
  - Removing drupal/jquery_ui_slider (2.1.0)
  - Removing drupal/jquery_ui_datepicker (2.1.0)
Gathering patches for root package.
Gathering patches for dependencies. This might take a minute.
  - Upgrading drupal/better_exposed_filters (6.0.6 => 7.0.0): Extracting archive
 0/5 [>---------------------------]   0%Deleting web/libraries/jquery-ui-touch-punch - deleted
Deleting web/modules/contrib/jquery_ui_touch_punch - deleted
Deleting web/modules/contrib/jquery_ui_slider - deleted
Deleting web/modules/contrib/jquery_ui_datepicker - deleted
Generating autoload files

Steps to reproduce

Upgrading BEF from 6.0.6 to 7.0.0
composer require 'drupal/better_exposed_filters:^7.0'

Proposed resolution

Either not remove the above libraries or provide a replacement for them.

Rolling back to 6.0.6 fixed the issue

Thanks!

๐Ÿ› Bug report
Status

Closed: works as designed

Version

7.0

Component

Code

Created by

Live updates comments and jobs are added and updated live.
  • jQuery

    Affects the version, handling, or usage of the jQuery javascript library.

Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024