?
avatar mbabker
mbabker
23 Apr 2017

Steps to reproduce the issue

Haven't done this on a fresh staging install, but myself and @Sandra97 could confirm this with the downloads site and 3.7 landing page. Set up your site with internationalized content, especially articles associated with one another, and on the front end navigate to those articles and check the URLs being generated by the module.

Expected result

The generated URLs should look similar to these:

https://downloads.joomla.org/us/
https://www.joomla.org/3/id/

Actual result

The generated URLs are these:

https://downloads.joomla.org/us/16-category-en-us/36-homepage-us
https://www.joomla.org/3/id/40-joomla-37-id/523-37-homepage-id

System information (as much as possible)

3.7 RC 4

Additional comments

The correct URLs are still working, and in the case of the downloads site the link for the menu items is correct. Also with the downloads site, the correct URLs are still being generated for the downloads repo (com_ars) so the issue seems isolated to either the module or some goofy thing in com_content.

The URLs are correctly generated for the <link rel="alternate"> elements in the page head.

Also, apparently disassociating the articles but leaving the menu items associated seems to resolve the issue but this looks to be a B/C break if that's a required action.

avatar mbabker mbabker - open - 23 Apr 2017
avatar joomla-cms-bot joomla-cms-bot - change - 23 Apr 2017
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 23 Apr 2017
avatar Sandra97
Sandra97 - comment - 23 Apr 2017

I've tested also with a copy of a live site.
Same issue happens with Category blog where I need to keep articles associated.
Instead of
http://www.mysite.com/en/activities/nautical-activities/tubing.html
it becomes
http://localhost/mysite/en/activities/nautical-activities/tubing/26-category-en/activities/nautical-activities/56-tubing.html

avatar franz-wohlkoenig franz-wohlkoenig - change - 24 Apr 2017
Category com_content Front End Multilanguage Router / SEF
avatar franz-wohlkoenig franz-wohlkoenig - change - 24 Apr 2017
Status New Confirmed
avatar infograf768
infograf768 - comment - 24 Apr 2017

Could please be more precise on the testing conditions to be able to reproduce?

avatar infograf768
infograf768 - comment - 24 Apr 2017

Correct me if I am wrong:
It looks to me the issue is unrelated to the module and to associations but rather router modifications...

Create a blog (or featured) containing articles.
One of the article can also be displayed by a menu item.

Here, if I hover the title of the article in the blog, I get
http://localhost:8888/testwindows/trunkgitnew/fr/guillaume-apollinaire/7-cat%C3%A9gories-en-fran%C3%A7ais/poetes-francais/1-guillaume-apollinaire.html

( same link in the language switcher module btw when the concerned language flag is displayed)

but the menu item is
http://localhost:8888/testwindows/trunkgitnew/fr/guillaume-apollinaire.html

avatar infograf768
infograf768 - comment - 24 Apr 2017

I confirm my findings.
Installed a clean multingual test site.
Un-associate all items created by default (articles, home menu items, categories).
Disable associations in the language filter.

Make sure that the default home featured menu item is set to show article title and title link
Create a second article in one language as featured.
Create a single article menu item to display this single article.

We do have now 2 articles set as featured (in French in my example).

This is the Home page I get:

screen shot 2017-04-24 at 09 33 56

Now hover the second article in the home page (otherarticle french):
its link is http://localhost:8888/testnew/trunkgitnew/fr/article-french-2/9-categorie-fr-fr/3-otherarticle-french.html

Hover the single article menu item (article french 2) which displays the same article:
http://localhost:8888/testnew/trunkgitnew/fr/article-french-2.html

The module as well as associations are not concerned. It is a routing issue.

avatar infograf768
infograf768 - comment - 24 Apr 2017

Tested with a 3.6.5 with exactly the same settings and it works fine. Title link is the same as menu item link.

avatar infograf768
infograf768 - comment - 24 Apr 2017

Now tested without multingual and we DO have the original issue on 3.7

avatar wilsonge
wilsonge - comment - 24 Apr 2017
avatar Sandra97
Sandra97 - comment - 24 Apr 2017

I confirm. I did a quick test with a copy of joomla.org
For an article of the Category Blog, I created also a menu item to display this single article.
The link to the article in the category blog view in 3.6.5 is:
https://www.joomla.org/myarticle.html
But with 3.7.0, it becomes:
https://www.joomlaorg/myarticle/7-joomla-official-news/general-news/5691-joomla-downloads-website.html

avatar infograf768 infograf768 - change - 24 Apr 2017
Status Confirmed Closed
Closed_Date 0000-00-00 00:00:00 2017-04-24 10:15:28
Closed_By infograf768
avatar infograf768 infograf768 - close - 24 Apr 2017
avatar infograf768
infograf768 - comment - 24 Apr 2017

Closing as we have 2 patches:

#15500

#15499


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

avatar csthomas
csthomas - comment - 24 Apr 2017

Routing for Tags also have some issue at #15336 but it existed before 3.7.0

Add a Comment

Login with GitHub to post a comment