New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Routing for Single Article Associations Broken in Language Module #15498
Comments
I've tested also on a copy of a live site. |
Could please be more precise on the testing conditions to be able to reproduce? |
Correct me if I am wrong: Create a blog (or featured) containing articles. Here, if I hover the title of the article in the blog, I get ( same link in the language switcher module btw when the concerned language flag is displayed) but the menu item is |
I confirm my findings. Make sure that the default home featured menu item is set to show article title and title link We do have now 2 articles set as featured (in French in my example). This is the Home page I get: Now hover the second article in the home page (otherarticle french): Hover the single article menu item (article french 2) which displays the same article: The module as well as associations are not concerned. It is a routing issue. |
Tested with a 3.6.5 with exactly the same settings and it works fine. Title link is the same as menu item link. |
Now tested without multingual and we DO have the original issue on 3.7 |
This is an issue from @mbabker 's PR here: #13073 as https://github.com/joomla/joomla-cms/blob/staging/components/com_content/helpers/legacyrouter.php#L94 this typehint check breaks |
I confirm. I did a quick test with a copy of joomla.org |
Closing as we have 2 patches: This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/15498. |
Routing for Tags also have some issue at #15336 but it existed before 3.7.0 |
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:
Actual result
The generated URLs are these:
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 incom_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.
The text was updated successfully, but these errors were encountered: