Details
-
Bug
-
Resolution: Fixed
-
High
-
4.5.0, 4.6.0, 4.7.0
-
None
-
None
Description
When there are multiple siteaccesses with different PathPrefix configurations, language switcher does not work properly:
- switching from a SA. using a path prefix to other one without
- switching from a SA. without a path prefix to other one with a path prefix
- Switching between siteaccesses using different path prefixes.
Steps to reproduce:
- Setup 3 different siteaccesses: eng, fre, por
- Setup content (use main language availability):
- Create a "TestFolder" folder under root (home)
- Create a "TestArticle" under "TestFolder"
- Translate "TestFolder" to "TestFolderFre" (fre-FR language)
- Configure the PathPrefix setting in site.ini:
- in "eng" sa: TestFolder
- in "fre" sa: TestFolderFre
- in "por" sa: none (commented or empty setting)
- clear (template) caches
Verify behavior:
- Access the site using /TestFolder/TestArticle, switch language to "fre"
- Access the site using /TestFolder/TestArticle, switch language to "por"
- Access the site using /por/TestFolder/TestArticle, switch language to "eng"
(note: switching from a module location such as /content/search should work as expected)
Attachments
Issue Links
- is blocked by
-
EZP-23753 Incorrect node UrlAlias for (partially) untranslated objects
- Closed
- relates to
-
EZP-18686 PathPrefix is not removed from url by ezpLanguageSwitcher
- Open
-
EZP-21513 Remove PathPrefix if applicable in ezpLanguageSwitcher
- Open
-
EZP-20494 niceurls create wrong path on multiple siteaccess configuration
- Closed
-
EZP-23838 PathPrefix not working with Symfony Stack
- Closed
-
EZP-23822 PathPrefix still present when using ezpLanguageSwitcher
- Closed