?
avatar dgrammatiko
dgrammatiko
19 May 2020

Steps to reproduce the issue

Download an image from Unsplash.com preferably with a file size bigger than 2MBb. Copy the file to the images folder. Try to use it as an intro or full text image.

Expected result

Works

Actual result

Javascript error (unhandled Promise Reject) due to Server error

System information (as much as possible)

Additional comments

avatar dgrammatiko dgrammatiko - open - 19 May 2020
avatar joomla-cms-bot joomla-cms-bot - change - 19 May 2020
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 19 May 2020
avatar wilsonge
wilsonge - comment - 25 May 2020

So the good news is the media field is just missing an edge case for when you haven't selected an image - see the fix in #29221

The bad news is that the media manager app is actually the thing that is "totally broken". It doesn't seem to attach the click events until the images have fully finished loading (i.e. this is some sort of race condition). Obviously not a solution but if you wait in the modal for a few seconds after it loads and then click the image everything is good.

avatar dgrammatiko
dgrammatiko - comment - 29 May 2020

I will consider all the Form Fields with hardcoded Font awesome classes as broken but anyways there is a PR for the weird behaviours #29256

avatar dgrammatiko dgrammatiko - close - 29 May 2020
avatar dgrammatiko dgrammatiko - change - 29 May 2020
Status New Closed
Closed_Date 0000-00-00 00:00:00 2020-05-29 10:24:53
Closed_By dgrammatiko

Add a Comment

Login with GitHub to post a comment