New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
s/404/500 #32579
s/404/500 #32579
Conversation
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. |
@PhilETaylor Just for testing, I changed intentionally under media > options the path images to application. I know, that's wrong :-) Got Actual Result. This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/32579. |
Solved now via Backend. This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/32579. |
@ChristineWk so was your test successful? Then please mark it in the issue tracker. |
Shall not we use a similar code as in filesystem/folder.php error instead of a simple error has occured??
or is that a problem to display part of a path? |
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. |
RTC This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/32579. |
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 aHTTP 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:
After 3.9.25 you get this which is less helpful: