Ticket #9382 (closed Bug: duplicate)
IDefaultPloneLayer corrupts LanguageSelector
| Reported by: | hpeteragitator | Owned by: | hannosch |
|---|---|---|---|
| Priority: | major | Milestone: | 3.3.5 |
| Component: | Infrastructure | Keywords: | TuneUp26 |
| Cc: |
Description
LanguageSelector gets faulty on the install of a new IDefaultPloneLayer
Plone 3.3rc4 and 3.3rc3 with LinguaPlone 2.4 and 3.0a1
(Plone 3.2.3 with LP 2.4 is working)
Error description:
In a multilingual site the link on the switch language flags display the wrong link and stay on the document of the old (the lang i want to switch from)
Example:
when switching from en to de the link is
.../test-english/switchLanguage?set_language=de
instead of
.../test-german/switchLanguage?set_language=de
(the language of the portal switches correctly)
this happens as soon as you install a new skin based on IDefaultPloneLayer (tested it with a generated "vanilla" paster-skin)
Steps to reproduce:
- create a new 3.3 site
- install linguaplone 3.0a1 or 2.4
- select some languages
- create some content
- translate the content
everything works fine till here
- install a skin (i tried this with a paster-skin as with a minimal handwritten skin that uses IDefaultPloneLayer)
-> now the links on the switch flags are wrong and the url is still the document you are switching from instead of the document you want to switch to
as said this happens only in plone 3.3 regardless of the linguaplone version 2.4 or 3.0a1 so i don't think this has something to do with linguaplone itself(?)
peter
contact hpeter on #plone if you need more information
