? ? Pending

User tests: Successful: Unsuccessful:

avatar PhilETaylor
PhilETaylor
3 Mar 2021

This is triggered If the path to the images folder is not a directory.

The error raised is not a HTTP 404 Page Not Found, this is factually incorrect, there is no "page" that is not found.

Its an InvalidArgumentException therefore it should be a HTTP 500 Internal Server Error, the error is internal, its not a page not found. Its an Error like JERROR_AN_ERROR_HAS_OCCURRED states. a 404 is not an error.

Prior to Joomla 3.9.25 you would get a more helpful message:

Screenshot 2021-03-03 at 20 50 29

After 3.9.25 you get this which is less helpful:

Screenshot 2021-03-03 at 20 50 57

avatar PhilETaylor PhilETaylor - open - 3 Mar 2021
avatar PhilETaylor PhilETaylor - change - 3 Mar 2021
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 3 Mar 2021
Category Administration com_media
avatar PhilETaylor PhilETaylor - change - 3 Mar 2021
The description was changed
avatar PhilETaylor PhilETaylor - edited - 3 Mar 2021
avatar PhilETaylor PhilETaylor - change - 3 Mar 2021
The description was changed
avatar PhilETaylor PhilETaylor - edited - 3 Mar 2021
avatar toivo toivo - test_item - 4 Mar 2021 - Tested successfully
avatar toivo
toivo - comment - 4 Mar 2021

I have tested this item successfully on 70d36a7

Tested successfully in 3.9.26-dev of 4 March.


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/32579.

avatar ChristineWk
ChristineWk - comment - 5 Mar 2021

@PhilETaylor
Pls don't don't laugh at me :-) tks.

Just for testing, I changed intentionally under media > options the path images to application. I know, that's wrong :-) Got Actual Result.
But: content > media is broken now. Which file should I load from a clean J 3.9.25? Under FTP, the images are there.


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/32579.

avatar ChristineWk
ChristineWk - comment - 5 Mar 2021

Solved now via Backend.
System > Global Configuration > Site > Media > Path to File Folder & to Images Folder > images.


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/32579.

avatar chmst
chmst - comment - 6 Mar 2021

@ChristineWk so was your test successful? Then please mark it in the issue tracker.

avatar infograf768
infograf768 - comment - 6 Mar 2021

Shall not we use a similar code as in filesystem/folder.php error instead of a simple error has occured??

Text::sprintf('JLIB_FILESYSTEM_ERROR_PATH_IS_NOT_A_FOLDER_FOLDER', $path), Log::WARNING, 'jerror');

or is that a problem to display part of a path?

avatar infograf768 infograf768 - test_item - 6 Mar 2021 - Tested successfully
avatar infograf768
infograf768 - comment - 6 Mar 2021

I have tested this item successfully on 70d36a7


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/32579.

avatar infograf768 infograf768 - change - 6 Mar 2021
Status Pending Ready to Commit
avatar infograf768
infograf768 - comment - 6 Mar 2021

RTC


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/32579.

avatar richard67 richard67 - change - 6 Mar 2021
Labels Added: ? ?
avatar rdeutz rdeutz - change - 15 Mar 2021
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2021-03-15 10:12:14
Closed_By rdeutz
Labels
avatar rdeutz rdeutz - close - 15 Mar 2021
avatar rdeutz rdeutz - merge - 15 Mar 2021

Add a Comment

Login with GitHub to post a comment