?
avatar smz
smz
1 May 2015

Steps to reproduce the issue

  • Have a multilingual site for which the default language code (e.g. en-UK) is hidden and a secondary language (e.g.: it-IT)
  • have two valid URLs, one for the primray, one for the secondary language (e.g.: http://nuovaicona.org/exhibitions-and-events/other-venues/luna-d-acqua and http://nuovaicona.org/it/mostre-ed-eventi/altre-sedi/luna-d-acqua) The two URLs are associated, but that doesn't matter much.
  • Assuming you already are "in the primary language" visit the first URL
  • Now switch language to the secondary one using the language switcher
  • Paste the primary language URL in the address bar of your browser

Expected result

The page should be displayed

Actual result

You get a 404

System information (as much as possible)

PHP Built On: Windows NT SMZ 6.3 build 9200 (Windows 8.1 Business Edition) i586
Database Version: 5.6.23
Database Collation: utf8_general_ci
PHP Version: 5.4.39
Web Server: Apache
WebServer to PHP Interface: apache2handler
Joomla! Version: Joomla! 3.4.1 Stable [ Ember ] 21-March-2015 20:30 GMT
Joomla! Platform Version: Joomla Platform 13.1.0 Stable [ Curiosity ] 24-Apr-2013 00:00 GMT
User Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:37.0) Gecko/20100101 Firefox/37.0

Additional comments

This bug creates huge issues when you are set in a secondary language, get an URL for the primary language from another source (e.g.: Google Search) and click on it. Instead of being routed to the correct page you get a 404.

No problems if the "Remove URL Language Code" options is not set in "Language filter".

Votes

# of Users Experiencing Issue
0/1
Average Importance Score
5.00

avatar smz smz - open - 1 May 2015
avatar smz
smz - comment - 1 May 2015

Sorry, the correct System information for the live site are:

PHP Built On: Linux smz.webserversystems.com 3.14.25-grsec.3.el5 #1 SMP Wed Mar 4 21:32:41 GMT 2015 x86_64
Database Version: 5.5.40-36.1-log
Database Collation: utf8_general_ci
PHP Version: 5.4.36
Web Server: Apache
WebServer to PHP Interface: cgi-fcgi
Joomla! Version: Joomla! 3.4.1 Stable [ Ember ] 21-March-2015 20:30 GMT
Joomla! Platform Version: Joomla Platform 13.1.0 Stable [ Curiosity ] 24-Apr-2013 00:00 GMT
User Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:37.0) Gecko/20100101 Firefox/37.0


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

avatar infograf768
infograf768 - comment - 2 May 2015

Do you experience the same issue on 3.3.6?

avatar infograf768
infograf768 - comment - 2 May 2015

I have replaced the languagefilter.php with the one from 3.3.6 and it solves the issue here using staging.
This means we still have a regression...

avatar infograf768
infograf768 - comment - 2 May 2015

Please test
#6881

avatar zero-24
zero-24 - comment - 2 May 2015

as the PR is RTC i'm closing here. Thanks!

avatar zero-24 zero-24 - change - 2 May 2015
Status New Closed
Closed_Date 0000-00-00 00:00:00 2015-05-02 17:31:54
Closed_By zero-24
avatar zero-24 zero-24 - close - 2 May 2015

Add a Comment

Login with GitHub to post a comment