Media library button doesnt activate

Created on 12 July 2024, 10 months ago

For 1.0.0-rc7

Problem/Motivation

The Media Library modal does not display.

Note, this may be as a result of upgrading to Drupal 10.3.

If gin_lb is uninstalled, things work as expected.

Steps to reproduce

Clicking a Media Library's _Add media library_ in the block form of a custom block does not show the UI.

The AJAX request goes through, but nothing displays.

Curiously, if you dont reload the page, but close the block edit sidebar, then re-open it, then try to use the button, it works!

This happens when using the Media Library button for entity reference fields. (per GIF)

This happens when using the CKE media library button

Proposed resolution

TBD

Remaining tasks

TBD

I have not tested with other buttons or anything else that could trigger a modal

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Closed: cannot reproduce

Version

1.0

Component

Code

Created by

🇦🇺Australia dpi Perth, Australia

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

Comments & Activities

  • Issue created by @dpi
  • 🇦🇺Australia dpi Perth, Australia

    drupal/gin 3.0.0-rc10

    Tried releases 1.0.0-rc7 through 1.0.0-rc3.

    More testing notes:

    The add more button for multicardinality fields as provided by core, which triggers an ajax request and html modification, continues to work as expected.

  • Status changed to Closed: cannot reproduce 10 months ago
  • 🇦🇺Australia dpi Perth, Australia

    Closing this for now as I believe its due to some bad custom JS...

Production build 0.71.5 2024