No Code Attached Yet bug PR-5.2-dev
avatar tzwsu
tzwsu
9 Jan 2025

Steps to reproduce the issue

Joomla 5.2.3 lost URL friendly tags using tag id's. I have a menu item named "Tags'" set to menu type "List All Tags".

Previously, in version 5.2.2 I could have links to display content related to a single tag or multiple tags, like the following links:

https://www.mysite.com/tags/289
https://www.mysite.com/tags/289,384
or (with forward slash)
https://www.mysite.com/tags/289/384

After updating to 5.2.3, with friendly URLs and Rewriting on in global settings, the above links return 404 error page. I now have to change them to the following to get them to work:

https://www.mysite.com/tags/?view=tag&id[0]=289
https://www.mysite.com/tags/?view=tag&id[0]=289,384

Expected result

display content related to one tag id, or multiple tag id's on same page

Actual result

404 Error Page

System information (as much as possible)

Joomla 5.2.3
Friendly URLs and URL rewriting on.

Additional comments

On a side note, the following still works, even though I don't have a tag with the name "hello".
https://www.mysite.com/tags/?view=tag&id[0]=289,384,hello

After the update to 5.2.3, if I copy the following file from 5.2.2, all works like before.
components/com_tags/src/Service/Router.php

avatar tzwsu tzwsu - open - 9 Jan 2025
avatar tzwsu tzwsu - change - 9 Jan 2025
Labels Removed: ?
avatar joomla-cms-bot joomla-cms-bot - change - 9 Jan 2025
Labels Added: No Code Attached Yet
avatar joomla-cms-bot joomla-cms-bot - labeled - 9 Jan 2025
avatar pe7er pe7er - change - 9 Jan 2025
Labels Added: PR-5.2-dev
avatar pe7er pe7er - labeled - 9 Jan 2025
avatar pe7er pe7er - change - 9 Jan 2025
Labels Added: bug
avatar pe7er pe7er - labeled - 9 Jan 2025
avatar richard67
richard67 - comment - 10 Jan 2025

After the update to 5.2.3, if I copy the following file from 5.2.2, all works like before. components/com_tags/src/Service/Router.php

That would mean it was PR #44540 which broke it.

avatar Hackwar Hackwar - change - 26 Jan 2025
Status New Closed
Closed_Date 0000-00-00 00:00:00 2025-01-26 20:42:39
Closed_By Hackwar
avatar Hackwar Hackwar - close - 26 Jan 2025
avatar Hackwar
Hackwar - comment - 26 Jan 2025

I created a PR #44783. Please test that. Since we have a PR, I'm closing this one.

avatar Hackwar
Hackwar - comment - 26 Jan 2025

I made a mistake and pushed to the wrong repo. So I had to recreate the PR under #44784 again. Please still test this. 😄

Add a Comment

Login with GitHub to post a comment