No Code Attached Yet J4 Issue bug
avatar narainrajat
narainrajat
3 Jan 2022

Steps to reproduce the issue

(1) Create a Category, say 'Blog'
(2) Create several tags, say 'A', 'B', 'C'
(3) Create multiple articles with category Blog and associate with 1 or more of the tags.
(4) Create a 'Category Blog' menu item for the category 'Blog', and set 'Tags' field to one or more Tags, say 'A'.
(5) Lets say, this menu item is set up as a root menu item and given an alias of 'category-blog'.

Expected result

Since the menu item has been setup, I would expect the link in the menu to read... '/category_blog'

Actual result

The URL built in the menu instead reads, '/category_blog?filter_tag[0]=1', where 1 is the tag id for the tag A which was set in the menu item params.

The tag information, that is set in the menu item appears as a query var, which can be manipulated by the site visitor to display content of any other tag by changing the value of the tag id. This should never be the case as the tag was specifically set in the menu item and is intended to display only the content associated with the selected tag.

System information (as much as possible)

Joomla 4.0.5 (and previous Joomla 4 versions).

Additional comments

NOTE THAT IT BEHAVED (AND STILL BEHAVES) CORRECTLY IN JOOMLA 3.X series.

avatar narainrajat narainrajat - open - 3 Jan 2022
avatar narainrajat narainrajat - change - 3 Jan 2022
Labels Removed: ?
avatar joomla-cms-bot joomla-cms-bot - change - 3 Jan 2022
Labels Added: No Code Attached Yet
avatar joomla-cms-bot joomla-cms-bot - labeled - 3 Jan 2022
avatar richard67
richard67 - comment - 4 Jan 2022

I am almost sure this has been reported several times before, but I‘m too tired to search for the other issues now.

avatar Quy
Quy - comment - 6 Jan 2022

See PR #34652 however it appears to be not the right fix.

avatar drmenzelit drmenzelit - change - 17 Jan 2022
Labels Added: J4 Issue
avatar drmenzelit drmenzelit - labeled - 17 Jan 2022
avatar Hackwar Hackwar - change - 17 Feb 2023
Labels Added: bug
avatar Hackwar Hackwar - labeled - 17 Feb 2023
avatar brianteeman brianteeman - change - 31 Aug 2023
Status New Closed
Closed_Date 0000-00-00 00:00:00 2023-08-31 10:14:08
Closed_By brianteeman
avatar brianteeman brianteeman - close - 31 Aug 2023
avatar brianteeman
brianteeman - comment - 31 Aug 2023

Closed as resolved with #40225

Add a Comment

Login with GitHub to post a comment