Ticket #9382 (closed Bug: duplicate)

Opened 3 years ago

Last modified 7 months ago

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

Change History

comment:1 Changed 3 years ago by wichert

  • Milestone changed from 3.3 to 3.x

comment:2 Changed 2 years ago by hannosch

  • Status changed from new to closed
  • Keywords TuneUp26 added; language lingua switch IDefaultPloneLayer removed
  • Resolution set to duplicate

Duplicate of #9153.

comment:3 Changed 2 years ago by hannosch

  • Owner set to hannosch

comment:4 Changed 7 months ago by esteele

(In [51146]) Merge changes from PLIP 9382. Refs #9382.

Note: See TracTickets for help on using tickets.