( similar/related issue to #43220 which was fixed )
During DACH JUG 5.3.0 RC2 testing session, I was testing Media Manager by uploading this test image:
For the file to Save successfully and for their to be a visual confirmation of successful saving.
It does not save nor confirm that it does not save (only if I go to Console do I see an issue:
[Error] TypeError: null is not an object (evaluating 'Joomla.MediaManager.Edit.xhr.readyState')
(anonymous function) (edit-images.min.js:4:5888) line 167 )
[see video]:
PHP 8.3.19
Joomla 5.3.0. RC2
but also applies to older and newer versions (see below)
I have tested this on 5.2.5, 5.3.0 RC2, 5.4.0 dev, 6.0.0 Nightly - all have this same issue.
I should point out that this feels like a regression to an issue I happen to report back in Joomla 4.4.4 rc1 (which also affected Joomla 5.0.3 and Joomla 5.1.0. rc1)
Labels |
Added:
No Code Attached Yet
|
could not replicate this myself
chrome_2Jqj7Armca.mp4
Hi @brianteeman, appreciate that you tested it but I fear that your test wasn't the accumulation that I described, you have to Crop the Image (and save it), then immediately (without leaving that area of Crop/Resize/Rotate), Resize it (and save it) and then Rotate it and it is then at the Rotate stage that you can not save and that you within a few seconds get the error message in Console.
I do agree however that there should be a message when you save
Hi @brianteeman - thanks for the updated test - this led me to think it could be related to Safari as I was testing in Safari 18.4 so I tested it in Vivaldi (Chromium based browser) and it seems to be related to the processing speed of Javascript in these browsers vs the amount of time you wait before pressing buttons:
IF I test in Vivaldi and I press Save (no visual confirmation of said save) AND I wait 2-3 seconds and then press Save + Close, all good, the file is rotated and saved BUT
IF I test in Vivaldi and I press Save (and since I have no visual confirmation of said save), I then quickly press Save again and/or Save+Close, then the same message appears in the Console.
Armed with this knowledge, I redo the test in Safari and if I wait a full 2 seconds in Safari after pressing Save, to press Save and Close, there is a noticeable delay before the blue line in my browser shows me it is updating to the thumbnail screen BUT it does work... if I do not wait 2 seconds, because I am not seeing any visual confirmation, I quickly press Save twice or Save and then quickly Save + Close, the console error appears.
sorry I cant help you further. the media manager is written in a language I have zero knowledge of
sorry I cant help you further. the media manager is written in a language I have zero knowledge of
Always appreciate the help. :)
could not replicate this myself
chrome_2Jqj7Armca.mp4