Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 292293

Error: Call to a member function uuid() on null in Drupal\media_library\MediaLibraryEditorOpener->getSelectionResponse() (line 72 of /app/docroot/core/modules/media_library/src/MediaLibraryEditorOpener.php)

$
0
0

Problem/Motivation

This error occurs when we click on 'Insert Selected' button from the media library without selecting or uploading a media.

Steps to reproduce

  • Go to any add/edit node page with body field.
  • Click on the media library button from the CKeditor
  • Click on the 'Insert Media' button from the image media type tab

It won't show any error in the frontend but logs an error message in watchdog and in browser console.
We see the 'No items selected' message only after switching media tabs.

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet


Viewing all articles
Browse latest Browse all 292293

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>