Details
-
Bug
-
Resolution: Unresolved
-
Medium
-
None
-
4.1.3, 4.2.0alpha1
-
None
Description
As a result, when a node is not translated in the main language of the target siteaccess, switchlanguages/to/<node_id> redirects to /<target_siteaccessname>/<node_id> even if the langage of the node is in site.ini/[RegionalSettings]/SiteLanguageList[] of the target siteaccess. The problem is located in kernel/private/classes/ezplanguageswitcher.php:133
Steps to reproduce
1. Install eZ Publish 4.1.3 with two languages for instance fre-FR and eng-GB
2. Configure the fre siteaccess with eng-GB in site.ini/[RegionalSettings]/SiteLanguageList[]
3. Configure the eng siteaccess with fre-FR in site.ini/[RegionalSettings]/SiteLanguageList[]
4. Create an object in english only
5. go to http://example.com/eng/swithlanguage/to/fre/<node_id>