? Pending

User tests: Successful: Unsuccessful:

avatar PhilETaylor
PhilETaylor
15 May 2017

Currently if you go to a nonexisting faked url with an invalid view you get a 500 Internal Server Status response with view not found message

It would be more appropriate to give a 404 Not Found status for a view not found error.

http://joomla-cms/index.php?option=com_content&view=nonsuch

We already do this if SEF enabled (E.g.https://www.joomla.org/index.php?option=com_content&view=nonsuch gives a 404), there is no reason (that i can see) that we would not also do it if SEF was not enabled .

avatar PhilETaylor PhilETaylor - open - 15 May 2017
avatar PhilETaylor PhilETaylor - change - 15 May 2017
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 15 May 2017
Category Libraries
avatar PhilETaylor PhilETaylor - change - 15 May 2017
The description was changed
avatar PhilETaylor PhilETaylor - edited - 15 May 2017
avatar Quy
Quy - comment - 16 May 2017

I have tested this item successfully on a5f60a7


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

avatar Quy Quy - test_item - 16 May 2017 - Tested successfully
avatar brianteeman
brianteeman - comment - 16 May 2017

I have tested this item successfully on a5f60a7

tested successfully on the components that threw a 500

note that some do not such as com_config which threw a 200


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

avatar brianteeman brianteeman - test_item - 16 May 2017 - Tested successfully
avatar franz-wohlkoenig franz-wohlkoenig - change - 16 May 2017
Status Pending Ready to Commit
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 16 May 2017

RTC after two successful tests.

avatar wilsonge
wilsonge - comment - 16 May 2017

note that some do not such as com_config which threw a 200

com_config doesn't use "legacy" MVC (but "new" MVC) so it's gonna do something weird. There aren't any other components using new MVC - so any other examples are actually pretty important

avatar brianteeman
brianteeman - comment - 17 May 2017

@wilsonge so i might have just been randomly "unlucky" testing it with com-config

avatar PhilETaylor
PhilETaylor - comment - 17 May 2017

Is Github "approving" the new "joomla human test result" ? or is it some badge of honour Im collecting now? :-)
screen shot 2017-05-17 at 13 58 08

avatar wilsonge
wilsonge - comment - 17 May 2017

@brianteeman indeed. I mean it's still a bug - but it wouldn't be covered by this PR. What other components are affected though?

@PhilETaylor it's just code review - but doesn't substitute for a proper test on a site that we use as one of the merge criteria

avatar franz-wohlkoenig
franz-wohlkoenig - comment - 18 May 2017

@wilsonge can the Message "… approved these Changes …" become clearer like "Code review by …"?

avatar wilsonge
wilsonge - comment - 18 May 2017

No. it's a github specific string

avatar brianteeman
brianteeman - comment - 18 May 2017

@wilsonge
Just com_ajax afaict

avatar wilsonge
wilsonge - comment - 18 May 2017

And com_ajax has no views so I guess that kinda makes sense. I guess if we don't trigger a module or plugin we should probably throw a 404 there too.

avatar rdeutz rdeutz - change - 22 May 2017
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2017-05-22 18:23:23
Closed_By rdeutz
Labels Added: ?
avatar rdeutz rdeutz - close - 22 May 2017
avatar rdeutz rdeutz - merge - 22 May 2017

Add a Comment

Login with GitHub to post a comment