Image Uploader Fails If Asset Without Thumbnail Recently Uploaded
jeffersonrabb opened this issue · comments
Describe the bug
If an asset without a thumbnail (e.g. a PDF) is among the media items displayed when Insert Image
is clicked, the Liveblog interface breaks and can only be restored by reloading the page.
Originally reported on https://in-gl.de/2020/03/23/liveblog-corona-in-gl-23-3/.
To Reproduce
Steps to reproduce the behavior:
- Navigate to Media Library and upload a PDF.
- View published Liveblog page.
- Click
Insert Image
. - Observe Liveblog breakage, console log error similar to screenshot below.
Screenshots
Video:
https://cloudup.com/cLIynAS0wQv
Expected behavior
Image upload works normally.