?
avatar coolcat-creations
coolcat-creations
17 Jul 2016

Steps to reproduce the issue

Create Articles with tags on a multilingual site.
Create Menuitems with a link to the specific tag
Create Menuitems to all tags.

Expected result

If you click on a tag below an article the adress should be something like
www.yourdomain.com/tag/tagname

Actual result

If you click on a tag below an article you are forwarded to:
component/tags/tag/tagname

Additional comments

There seems to be a check missing for multilang... because for one language it´s working perfectly...

Votes

# of Users Experiencing Issue
2/2
Average Importance Score
5.00

avatar designbengel designbengel - open - 17 Jul 2016
avatar mbabker
mbabker - comment - 17 Jul 2016

It's not just multilingual. Routing between components is broken in general. Install Joomla's sample testing data and compare the links for the tags from the homepage "Joomla! Testing" article item versus when you're on the /all-tags page (the "All Tags" item at the bottom of the "All Front End Views" list).

avatar designbengel
designbengel - comment - 17 Jul 2016

Just tested and: Yes i confirm! I thought it has something to do with multilingual because before implementing the other languages on 3.6 page the routing looked nice...

avatar yvesh
yvesh - comment - 17 Jul 2016

@mbabker Yes, but it is also a tags specific problem in that case:

TagsHelperRoute::getTagRoute

Defines the id as needle in search for the itemId, language is this way always (hardcoded) to *.

The URL should look like that (no clue why the parent tags list all menu entry is not considered too)

domain.com/aliasTags/tag/tagname would be better then component/.. imo

See this line

avatar mbabker
mbabker - comment - 17 Jul 2016

The tags helper also doesn't account for the fact that a tag view may have its URL based on a parent tags view's menu item; it only looks for a tag view and that's in part where the inconsistent routing comes from. It is not just a language issue. Although that part could probably be fixed by applying the same logic as used for the com_content route helper.

avatar csthomas
csthomas - comment - 17 Jul 2016

@designbengel If you require real fast patch you can test #11166.

avatar brianteeman brianteeman - change - 18 Jul 2016
Category Multilanguage Router / SEF Tags
avatar proweb
proweb - comment - 19 Jul 2016

It problem not multilang. It's problem since the day of tags was added to core.

avatar brianteeman brianteeman - change - 21 Jul 2016
Labels Added: ?
avatar ymages
ymages - comment - 22 Jul 2016

Same issue here , since Joomla 3.6 tags links return nothing
example here http://www.dpm-images.fr/component/tags/tag/31-aspherique


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/11163.

avatar joomla-cms-bot joomla-cms-bot - change - 22 Jul 2016
The description was changed
avatar joomla-cms-bot joomla-cms-bot - edited - 22 Jul 2016
avatar franz-wohlkoenig franz-wohlkoenig - change - 6 Apr 2017
Status New Discussion
avatar csthomas
csthomas - comment - 25 Apr 2017

Is it still up to date? How can I repeat the issue on Joomla RC4?

Ok, I find a way to repeat this issue.

avatar zero-24
zero-24 - comment - 25 Apr 2017

ca we close this as there is a PR @csthomas ?

avatar joomla-cms-bot joomla-cms-bot - change - 26 Apr 2017
The description was changed
avatar joomla-cms-bot joomla-cms-bot - edited - 26 Apr 2017
avatar joomla-cms-bot joomla-cms-bot - close - 26 Apr 2017
avatar franz-wohlkoenig franz-wohlkoenig - change - 26 Apr 2017
The description was changed
Status Discussion Closed
Closed_Date 0000-00-00 00:00:00 2017-04-26 05:42:23
Closed_By franz-wohlkoenig
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 26 Apr 2017

closed as having PR


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/11163.

avatar joomla-cms-bot
joomla-cms-bot - comment - 26 Apr 2017

Add a Comment

Login with GitHub to post a comment