When you open the basketball menu item and it lists the article, and you click the article title, Joomla should show the article content.
It doesn't show the content but lists the article list
Demo site: https://tagtester.cloudaccess.host/
Joomla 4.3.2
It might be a conflict of the submenu item alias and the subcategory alias of basketball
Labels |
Removed:
?
|
Labels |
Added:
No Code Attached Yet
|
Title |
|
Could anyone reproduce the error?
I was able to reproduce only after looking on your site,
the inctruction a bit confusing.
Addittional to the instruction. The final menu structure is:
- Sport news => category blog for "sport news"
-- Basketball => tagged items for "basketball-tag"
Then article basketball-article
will have the /sport-news/basketball/basketball-article
url, and will open Tags list instead of detail.
Labels |
Added:
bug
|
Thanks for the confirmation.
If it's really a bug, it's quite big (and annoying), so it's high time for the developers to address this issue.
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2023-08-07 10:37:02 |
Closed_By | ⇒ | Hackwar |
It, too, took me some time to understand the whole issue and also the test-site to finally grasp this. However, I have to say that this is expected behavior or if you want that rephrased: A known limitation of our routing system. You created an identical route in 2 different components and in that case, the component with the best fitting (longest part of the URL matches with the menu item) menu item "wins". In your case, that is the com_tags component/router then, but that router doesn't know what to do with the "test-article" part. The only bug we have here is that the router does not throw a 404 for that URL as it actually should. The tagging has been improved in 4.3 quite a bit, but it will require additional work in the near future. In that additional change, I will fix the 404 issue, but besides that, this is not actually a bug.
This possible routing problem is quite a big issue.
We have a news portal, and we have several subcategories with submenu items, and we use tags for multiple categorization purposes.
This issue is really serious: the aliases of the corresponding subcategories and submenu items are identical. If the menu item is set to category blog type, this sameness doesn't cause any problem. But if you set the menu item to tagged items, the aliases come into conflict, and the routing mechanism collapses. But it shouldn't make any difference if you use categories or tags as the basis of menu items.
This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/41146.