joomla-cms icon indicating copy to clipboard operation
joomla-cms copied to clipboard

[4.3] empty com_tags types causes Page Not Found error

Open ceford opened this issue 2 years ago • 1 comments

Steps to reproduce the issue

Go to a tagged items list, for example Joomla V4 in the sample data. Example: localhost/j4xdemos/en/component/tags/tag/joomla-v4.html Add ?types= to the url. Example: localhost/j4xdemos/en/component/tags/tag/joomla-v4.html?types=

Expected result

Same as with ?types=1

Actual result

Page not found

System information (as much as possible)

SEO set up and using .htaccess.

Additional comments

The source of the problem seems to be line 202 of components/com_tags/src/Model/TagModel.php:

This came up in the Forum and I am not sure whether it should be treated as a bug. See:

https://forum.joomla.org/viewtopic.php?p=3695055&sid=2c5a716ed5c78fe21b0babb08605c78d#p3695055

ceford avatar Jun 22 '23 19:06 ceford

Is this really a bug? You are manually visiting a url that does not exist and get a 404 - sounds correct behaviour to me - or am i missing something?

brianteeman avatar Jun 19 '25 08:06 brianteeman