Reconcile Drupal.ajax events bc layer/workaround before 11.0 for jQuery 5 compatibility

Created on 8 December 2022, over 1 year ago
Updated 4 March 2024, 6 months ago

Problem/Motivation

#3324062: [Regression] Changes to Drupal.ajax in 9.5.x have caused regressions in paragraphs_features module β†’ added a bc layer/workaround to Drupal.ajax to ensure all AJAX requests have completed before the success event is called.

This relies on custom event handling in jQuery which is going to be removed in jQuery 5.

There is no way to know if a module is implementing the success event because they have to, or if they have other options. We also probably don't have a way to issue a deprecation for this.

Steps to reproduce

Proposed resolution

Probably, remove the bc layer/workaround, with a release note/change record, in Drupal 11.0.0

Open issues against the contributed modules that are using the AJAX success event to tell them what they should/could do instead. List already in #3324062: [Regression] Changes to Drupal.ajax in 9.5.x have caused regressions in paragraphs_features module β†’ although modules themselves will need more investigation.

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet

πŸ“Œ Task
Status

Active

Version

11.0 πŸ”₯

Component
AjaxΒ  β†’

Last updated about 20 hours ago

Created by

πŸ‡¬πŸ‡§United Kingdom catch

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024