J4 Issue ?
avatar PhilETaylor
PhilETaylor
12 May 2018

Steps to reproduce the issue

Maybe a discussion point... or just quick fix.

Go to any fake url to generate a 404

Although the Status text can be any human readable string, it is most common to stick to the accepted text of "Not Found"

Expected result

"404 Not Found"
or
"404 Page Not Found"

Actual result

404 URL Invalid

The URL is a VALID Url, just in the context of the routing in Joomla doesnt lead to a "page".... so "URL Invalid is syntactically wrong.

System information (as much as possible)

Joomla! 4.0.0-alpha3 Alpha [ Amani ] 12-May-2018 15:23 GMT

Additional comments

avatar PhilETaylor PhilETaylor - open - 12 May 2018
avatar joomla-cms-bot joomla-cms-bot - change - 12 May 2018
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 12 May 2018
avatar wilsonge
wilsonge - comment - 13 May 2018

This exception only is thrown in one place :) so simple from that perspective to fix https://github.com/joomla/joomla-cms/blob/4.0-dev/libraries/src/Router/Router.php#L150

Given we are rendering this one maybe it might also be a good idea to pass this one through JText....

avatar franz-wohlkoenig franz-wohlkoenig - change - 13 May 2018
Status New Discussion
avatar franz-wohlkoenig franz-wohlkoenig - change - 13 May 2018
Category Router / SEF UI/UX
avatar brianteeman brianteeman - change - 13 May 2018
Labels Added: ?
avatar brianteeman brianteeman - labeled - 13 May 2018
avatar brianteeman brianteeman - change - 13 May 2018
Labels Removed: ?
avatar brianteeman brianteeman - unlabeled - 13 May 2018
avatar brianteeman brianteeman - change - 13 May 2018
Labels Added: J4 Issue
avatar brianteeman brianteeman - labeled - 13 May 2018
avatar PhilETaylor PhilETaylor - comment - 15 May 2018
avatar Quy Quy - change - 15 May 2018
Status Discussion Closed
Closed_Date 0000-00-00 00:00:00 2018-05-15 22:19:13
Closed_By Quy
avatar joomla-cms-bot joomla-cms-bot - change - 15 May 2018
Closed_By Quy joomla-cms-bot
avatar joomla-cms-bot joomla-cms-bot - close - 15 May 2018
avatar joomla-cms-bot
joomla-cms-bot - comment - 15 May 2018

Set to "closed" on behalf of @Quy by The JTracker Application at issues.joomla.org/joomla-cms/20358

Add a Comment

Login with GitHub to post a comment