No Code Attached Yet J4 Media Manager
avatar PhilETaylor
PhilETaylor
7 Apr 2021

Steps to reproduce the issue

I was convinced this was just me - but can you replicate it?

Go to Media Manager in Joomla 4 admin

Click to Edit the joomla_black.png file

When on the CROP tab, just keep pressing save, save save save until the 4 fields show NaN

Takes 3-6 clicks.

Then you have destroyed the image. and if you have error reporting to maximum you get in your Ajax from the save, and on the next refresh of the page

Notice: exif_imagetype(): Error reading from /application/images/joomla_black.png! in /application/libraries/src/Helper/MediaHelper.php on line 74

Notice: getimagesize(): Error reading from /application/images/joomla_black.png! in /application/libraries/src/Image/Image.php on line 185

Is it me?

avatar PhilETaylor PhilETaylor - open - 7 Apr 2021
avatar joomla-cms-bot joomla-cms-bot - change - 7 Apr 2021
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 7 Apr 2021
avatar himanshu007-creator
himanshu007-creator - comment - 8 Apr 2021

@PhilETaylor , confirmed same behaviour ( chrome on windows )

proof

avatar PhilETaylor
PhilETaylor - comment - 8 Apr 2021

The more I play with the crop/resze/rotate the more times I notice NaN javascript errors in the text fields.

avatar Magnytu2
Magnytu2 - comment - 14 Apr 2021

@PhilETaylor This is an error that has been pointed out several times from memory. #32326

avatar PhilETaylor
PhilETaylor - comment - 14 Apr 2021

@PhilETaylor This is an error that has been pointed out several times from memory. #32326

And yet still unresolved :)

avatar Magnytu2
Magnytu2 - comment - 14 Apr 2021

@PhilETaylor Yes and as soon as you use the media manager with more than 12 images it's the same. The media manager is not solid. The display of fields over the entire width is too large. And I find that its use from an article is even more fragile and I very often find myself without illustrations.

avatar ceford
ceford - comment - 19 May 2021

After the joomla_black.png file gets corrupted the Media screen stops working completely. Three clicks to kill a major component of Joomla 4! This needs to be marked a release blocker. Ordinary users will not know they have to deleted the corrupted file using something other than com_media to get it to work again.

avatar PhilETaylor
PhilETaylor - comment - 19 May 2021

After the joomla_black.png file gets corrupted the Media screen stops working completely.

I tried to fix that and it was rejected #33141

avatar PhilETaylor
PhilETaylor - comment - 19 May 2021

IIRC its only broken if you have error reporting set to anything other than none.

avatar Quy Quy - change - 27 Jul 2021
Labels Added: J4 Media Manager
avatar Quy Quy - labeled - 27 Jul 2021
avatar brianteeman
brianteeman - comment - 10 Aug 2021

I am unable to replicate this now. There have been a lot of changes in the js since this issue was opened - probably solved there

avatar PhilETaylor PhilETaylor - change - 18 Aug 2021
Status New Closed
Closed_Date 0000-00-00 00:00:00 2021-08-18 08:52:31
Closed_By PhilETaylor
Labels Added: No Code Attached Yet
Removed: ?
avatar PhilETaylor PhilETaylor - close - 18 Aug 2021

Add a Comment

Login with GitHub to post a comment