No Code Attached Yet bug
avatar jjnxpct
jjnxpct
19 Apr 2023

Steps to reproduce the issue

On Joomla 4.3 - Create some tags and add them to an article. Set the article / menu item to show the tags.

Expected result

Tags should be shown on the article page with a link to the view of a listing of all items tag have the clicked tag.

Actual result

The links on the tags all have this href: /root. Clicking on it shows a 404 page error.

System information (as much as possible)

Joomla 4.3
PHP 8.1.17

Additional comments

I think Joomla 4.3 had some changes to the tags routing?
I believe we did not have this issue on the previous version.

avatar jjnxpct jjnxpct - open - 19 Apr 2023
avatar joomla-cms-bot joomla-cms-bot - change - 19 Apr 2023
Labels Added: No Code Attached Yet
avatar joomla-cms-bot joomla-cms-bot - labeled - 19 Apr 2023
avatar jjnxpct
jjnxpct - comment - 19 Apr 2023

In the layout file layouts/joomla/content/tags,php the URL is created with this code:

echo Route::_(RouteHelper::getComponentTagRoute($tag->tag_id . ':' . $tag->alias, $tag->language));

I checked the values of $tag->tag_id, $tag->alias and $tag->language. I believe they were all there,

So maybe something wrong with the routehelper?

avatar brianteeman
brianteeman - comment - 19 Apr 2023

possibly a result of #39114

avatar richard67 richard67 - change - 19 Apr 2023
Labels Added: bug
avatar richard67 richard67 - labeled - 19 Apr 2023
avatar jjnxpct jjnxpct - change - 21 Apr 2023
Status New Closed
Closed_Date 0000-00-00 00:00:00 2023-04-21 15:56:37
Closed_By jjnxpct
avatar jjnxpct jjnxpct - close - 21 Apr 2023
avatar jjnxpct
jjnxpct - comment - 21 Apr 2023

This turns out to caused by an 3rd party extension (Route66) that infuences the URLs of the website. I will contact the developer about this.

Add a Comment

Login with GitHub to post a comment