Entity Browser does not work with jQuery 3.7.1

Created on 13 November 2023, about 1 year ago
Updated 3 December 2023, about 1 year ago

Problem/Motivation

When I started using jQuery 3.7.1 (instead of Core's jQuery 3.6.3), the entity browser stopped working. Specifically, you could open the modal browser, select a media, click the apply button, the modal closes, but the field never adds the selected media and stays empty.

Steps to reproduce

  1. Add a media field
  2. Configure entity browser as form widget and make the widget render the selected media as a thumbnail
  3. Add a new content
  4. Click on Select Button
  5. Choose a media and click submit
  6. When using jQuery 3.6.3: The media is selected and shown correctly
  7. When using jQuery 3.7.1: The field stays empty, can't select a media

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Closed: works as designed

Version

2.0

Component

Widget selector plugins

Created by

🇨🇭Switzerland florianmuellerch Aarau, Switzerland

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

Comments & Activities

  • Issue created by @florianmuellerch
  • Assigned to florianmuellerch
  • Status changed to Closed: works as designed about 1 year ago
  • 🇨🇭Switzerland florianmuellerch Aarau, Switzerland

    Well well how the turntables...
    Apparently it was all a mistake again. I later found out that even when using 3.6.3 again, it wouldn't work anymore.
    Root cause was something completely different: Another module included another instance / version of jQuery which ultimately caused the issue.

Production build 0.71.5 2024