If noting selected: Call to a member function uuid() on null in Drupal\media_library\MediaLibraryEditorOpener->getSelectionResponse()

Created on 9 April 2025, 13 days ago

Problem/Motivation

When a user clicks on "Insert selected" in the media library browser (e.g. within Ckeditor5) without selecting any media, the widget closes and after the next page refresh, there is an error message "No items selected.".

Proposed resolution

The error message should be immediate and the widget should remain open.

πŸ› Bug report
Status

Active

Version

11.0 πŸ”₯

Component

media system

Created by

πŸ‡©πŸ‡ͺGermany jurgenhaas Gottmadingen

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024