View Issue Details

This bug affects 1 person(s).
 6
IDProjectCategoryView StatusLast Update
09229Bug reportsSurvey takingpublic2014-09-15 22:57
Reportersilverlime Assigned ToDenisChenu  
PrioritynormalSeverityminor 
Status closedResolutionfixed 
Product Version2.05+ 
Fixed in Version2.05+ 
Summary09229: Language switch in token form and when entering language-specific token does not work
Description
  1. The language Switch in token form does not work. The Switcher (in my case for german and french) tries to call e.g. XXX?lang=fr but then goes back to german respectively the original url. After login the Switch works.

  2. When entering a token with language "french" the german version (which is the standard-version) is called. When using the test-symbol for a french token in the backend it is called properly in the french version.

Maybe this is related to issue 08515

As far as i understand it is due to different url-coding for the language XXX/lang=fr (= old?) and XXX/lang/fr (new?)

TagsNo tags attached.
Bug heat6
Complete LimeSurvey version number (& build)140911
I will donate to the project if issue is resolvedNo
BrowserFF
Database type & versionN/A
Server OS (if known)N/A
Webserver software & version (if known)N/A
PHP VersionN/A

Users monitoring this issue

There are no users monitoring this issue.

Activities

DenisChenu

DenisChenu

2014-09-13 14:34

developer   ~30610

Working for me : like this.

After entering token:
We take language from actual selection, not from token.

silverlime

silverlime

2014-09-13 15:05

reporter   ~30612

thank you ! yes in your example it works

but my survey-url looks different like this:

I upgraded from a previous 2.00-Version. Maybe i do have to set a (new) base-url anywhere?

DenisChenu

DenisChenu

2014-09-13 15:06

developer   ~30613

OK, i have to test url GET and fix it :)

DenisChenu

DenisChenu

2014-09-13 15:44

developer   ~30614

Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=14501

DenisChenu

DenisChenu

2014-09-13 15:45

developer   ~30615

Next update, patch can be applied actually

silverlime

silverlime

2014-09-13 18:40

reporter   ~30617

the patch works. thank you for the quick help ! kind regards axel

c_schmitz

c_schmitz

2014-09-15 22:57

administrator   ~30645

2.05+ Build 140915 released

Related Changesets

LimeSurvey: master 67b39e77

2014-09-13 13:44:22

DenisChenu

Details Diff
Fixed issue 09229: Language switch in token form with urlFormat to get broken
Dev: move to method post and add YII_CSRF_TOKEN
Affected Issues
09229
mod - scripts/survey_runtime.js Diff File

Issue History

Date Modified Username Field Change
2014-09-13 11:33 silverlime New Issue
2014-09-13 14:13 DenisChenu Assigned To => DenisChenu
2014-09-13 14:13 DenisChenu Status new => assigned
2014-09-13 14:34 DenisChenu Note Added: 30610
2014-09-13 15:05 silverlime Note Added: 30612
2014-09-13 15:06 DenisChenu Note Added: 30613
2014-09-13 15:44 DenisChenu Changeset attached => LimeSurvey master 67b39e77
2014-09-13 15:44 DenisChenu Note Added: 30614
2014-09-13 15:44 DenisChenu Resolution open => fixed
2014-09-13 15:45 DenisChenu Note Added: 30615
2014-09-13 15:45 DenisChenu Status assigned => resolved
2014-09-13 15:45 DenisChenu Fixed in Version => 2.05+
2014-09-13 18:40 silverlime Note Added: 30617
2014-09-15 22:57 c_schmitz Note Added: 30645
2014-09-15 22:57 c_schmitz Status resolved => closed