No Code Attached Yet bug
avatar oorzaak
oorzaak
14 Apr 2025

Issue with menu type Tagged items, J.5.2

Hello,

I am not sure if this is the correct way to ask your attention for this issue.

Over a year ago I posted an issue called "Issue with menu type Tagged items, J.4.4.1", see https://issues.joomla.org/tracker/joomla-cms/42529

Although some people agreed that this issue should be solved in the Joomla core, it was solved with a patch on the file components/com_tags/src/Service/Router.php, made by @RickR2H. However, no changes were made to the core. I have been using the patch since then and I am very happy to have it. When there is a J.4 update I always check this file for changes and I make sure that I keep the patched part.

Now I want to upgrade the site to J.5 and I see that the issue is still present in J.5. Oher people have noticed this as well. I do not dare to copy the patch code to J.5 because the file components/com_tags/src/Service/Router.php has changed in J.5. and this is beyond my knowledge.

My questions:

Is there someone who has the knowledge (and is willing) to make this patch J.5 compatible?
Or, even better, would it be possible to make these changes part of the J.5 core code?

For details, please check my original J.4 issue at https://issues.joomla.org/tracker/joomla-cms/42529

Kind regards, Frits

avatar oorzaak oorzaak - open - 14 Apr 2025
avatar oorzaak oorzaak - change - 14 Apr 2025
Labels Removed: ?
avatar joomla-cms-bot joomla-cms-bot - change - 14 Apr 2025
Labels Added: No Code Attached Yet
avatar joomla-cms-bot joomla-cms-bot - labeled - 14 Apr 2025
avatar AdarshSantoria
AdarshSantoria - comment - 18 Apr 2025

Confirmed on Joomla 5.3-dev ✅

The Tagged Items menu using a parent tag does not display articles tagged with child tags. Issue is reproducible and still present in the current Router.php.

avatar chmst chmst - change - 23 Apr 2025
Labels Added: bug
avatar chmst chmst - labeled - 23 Apr 2025
avatar CSGoat0
CSGoat0 - comment - 10 May 2026

Testing performed on Joomla 5.4

Issue: Router/SEF tag link displays sibling tags when clicking a child tag

Steps performed (following the original reporter's steps):

  1. Created parent tag "Healthcare"
  2. Created child tags "Covid" and "Mental health" under "Healthcare"
  3. Created parent tag "Money" with child tag "Taxes"
  4. Created a Tagged Items menu item called "Healthcare" and selected the child tags "Covid" and "Mental health"
  5. Created a Tagged Items menu item called "Money" and selected the child tag "Taxes"
  6. Created three articles, each with only one tag:
    • Article A: Covid
    • Article B: Mental health
    • Article C: Taxes
  7. Enabled SEF URLs and URL Rewriting
  8. On the frontend, navigated to Article A and clicked the "Covid" tag link

Actual result on Joomla 5.4:

  • URL received: http://localhost/component/tags/tag/covid
  • Only Article A (Covid) appeared
  • Article B (Mental health) did NOT appear

Comparison with original report:

The original reporter on Joomla 4.4.1 received:

  • URL: http://yoursite.com/healthcare/covid
  • Both Article A and Article B appeared (incorrect)

Conclusion on Joomla 5.4:

The router/SEF tag issue described in this report could not be replicated on Joomla 5.4. The tag link routed to /component/tags/tag/covid instead of the hierarchical URL, and the tag displayed only its own articles, not sibling tags.

I failed to replicate the Issue ❌
I will report this as completed because it doesn't exist anymore.
If you think I missed something, please tell me.

avatar CSGoat0
CSGoat0 - comment - 10 May 2026

Testing performed on Joomla 5.4

Issue: Router/SEF tag link displays sibling tags when clicking a child tag

Steps performed (following the original steps):

  1. Created parent tag "Healthcare"
  2. Created child tags "Covid" and "Mental health" under "Healthcare"
  3. Created parent tag "Money" with child tag "Taxes"
  4. Created a Tagged Items menu item called "Healthcare" and selected the child tags "Covid" and "Mental health"
  5. Created a Tagged Items menu item called "Money" and selected the child tag "Taxes"
  6. Created three articles, each with only one tag:
    • Article A: Covid
    • Article B: Mental health
    • Article C: Taxes
  7. Enabled SEF URLs and URL Rewriting
  8. On the frontend, navigated to Article A and clicked the "Covid" tag link

Actual result on Joomla 5.4:

  • URL received: http://localhost/component/tags/tag/covid
  • Only Article A (Covid) appeared
  • Article B (Mental health) did NOT appear

Comparison with original report:

The original reporter on Joomla 4.4.1 received:

  • URL: http://yoursite.com/healthcare/covid
  • Both Article A and Article B appeared (incorrect)

Conclusion on Joomla 5.4:

The router/SEF tag issue described in this report could not be replicated on Joomla 5.4. The tag link routed to /component/tags/tag/covid instead of the hierarchical URL, and the tag displayed only its own articles, not sibling tags.

I failed to replicate the Issue ❌
I will report this as completed because it doesn't exist anymore.
If you think I missed something, please tell me.

avatar alikon alikon - change - 12 May 2026
Status New Closed
Closed_Date 0000-00-00 00:00:00 2026-05-12 11:59:26
Closed_By alikon
avatar alikon alikon - close - 12 May 2026

Add a Comment

Login with GitHub to post a comment