Leftover D10 deprecations in ajax.js

Created on 5 April 2023, over 1 year ago
Updated 29 July 2024, 4 months ago

Problem/Motivation

In core/misc/ajax.js there are two functions marked as removed from Drupal 10 that still exist.

They are ajaxWrapperMultipleRootElements & ajaxWrapperNewContent. In core itself, the only usage of these files are in the ajax.js file & in their associated test.

from catch in the duplicate issue:
They were 'deprecated' in Drupal 8.6.0 before we had a JavaScript deprecation API. We need to actually deprecate them, so they can be removed. Should probably be deprecated in 8.6.0 for removal in 11.0.0 at this point. https://www.drupal.org/node/2940704

Steps to reproduce

Review core/misc/ajax.js and see the deprecations.

Proposed resolution

Bump the deprecation to Drupal 11.

Remaining tasks

User interface changes

API changes

The two functions will be removed or marked to be removed in Drupal 11.

Data model changes

Release notes snippet

🐛 Bug report
Status

Needs work

Version

11.0 🔥

Component
Ajax 

Last updated about 21 hours ago

Created by

🇳🇿New Zealand danielveza Brisbane, AU

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

Merge Requests

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