View Issue Details

This bug affects 1 person(s).
 6
IDProjectCategoryView StatusLast Update
04367Bug reportsSurvey takingpublic2010-06-08 21:51
ReporterCarbonaCat Assigned Toc_schmitz  
PrioritynormalSeverityminor 
Status closedResolutionfixed 
Product Version1.90b 
Fixed in Version1.90RC1 
Summary04367: Survey language is not set properly when loading answers from an URL
Description

When one begins a survey and save its responses, one will receive an email to resume it later.

However, when the URL is used in a fresh session (for example, when reseting your cookies or using another browser), the language will be reseted to the base language of the survey.

See attached file for an example of survey.

Steps To Reproduce
  1. Create a survey of base language English.
  2. Make sure saves are enabled.
  3. Add the language French (For example).
  4. Create a group and a question in this group for both languages.
  5. Activate the survey.
  6. Execute it in another language than the base language (English for example).
  7. Save your answers.
  8. In your email client, locate and launch the URL that allows you to resume your answers.
Additional Information

Also reproduced on the 1.87+ (Build 8518).

I tried to correct the issue myself.
When loading the line, I naively though it would be sufficient to set the $_SESSION['s_lang'] to the value of the column 'startlanguage', in the loadanswers function (index.php), but it's not.

TagsNo tags attached.
Attached Files
Bug heat6
Complete LimeSurvey version number (& build)8748
I will donate to the project if issue is resolved
BrowserChrome4.x, IE7
Database type & versionMySQL
Server OS (if known)Windows XP SP2
Webserver software & version (if known)WAMP
PHP Version5.3

Users monitoring this issue

There are no users monitoring this issue.

Activities

Mazi

Mazi

2010-05-26 20:08

updater   ~11984

Thibault, is it intedned behavior to re-start the saved survey with the default language or do we have any possibilities to store the current language when saving a survey?

CarbonaCat

CarbonaCat

2010-05-27 09:20

reporter   ~12006

It IS stored in the startlanguage column (of the response table limesurvey#####) at the save, but it's either ignored or put in the $_SESSION['startlanguage'] at the start, which does not do the expected thing.

lemeur

lemeur

2010-06-03 21:04

developer   ~12119

Carsten, you just fixed an equivalent bug... was it the same ?

Issue History

Date Modified Username Field Change
2010-05-26 16:18 CarbonaCat New Issue
2010-05-26 16:18 CarbonaCat Status new => assigned
2010-05-26 16:18 CarbonaCat Assigned To => user372
2010-05-26 16:18 CarbonaCat File Added: limesurvey_survey_63932.lss
2010-05-26 20:08 Mazi Note Added: 11984
2010-05-26 20:08 Mazi Assigned To user372 => lemeur
2010-05-27 09:20 CarbonaCat Note Added: 12006
2010-06-03 21:03 lemeur Assigned To lemeur => c_schmitz
2010-06-03 21:04 lemeur Note Added: 12119
2010-06-04 18:43 c_schmitz Status assigned => resolved
2010-06-04 18:43 c_schmitz Fixed in Version => 1.90RC1
2010-06-04 18:43 c_schmitz Resolution open => fixed
2010-06-08 21:51 c_schmitz Status resolved => closed
2010-10-25 00:18 c_schmitz Category Survey at Runtime => Survey taking