View Issue Details

This bug affects 1 person(s).
 6
IDProjectCategoryView StatusLast Update
04592Bug reportsOtherpublic2010-09-29 16:29
ReporterDenisChenu Assigned ToDenisChenu  
PrioritynormalSeverityminor 
Status closedResolutionfixed 
Product Version1.90+ 
Fixed in Version1.90+ 
Summary04592: Default value for multilangage survey don't working
Description

The default value for list, list dropdown and multi checkbox don't working at expected.

default value are OK only for base langage of the survey.

Steps To Reproduce

create a multilangage survey, add a default value for a list . or import survey join : english is OK, french are bad

Additional Information

multi checkbox without "Use same default value across languages:" are OK

For patching : there are 2 solution:

  • when adding a default value : create the default value for each langage : more easy (i think) , but actual survey had the bug.
  • when create the session : test if default value for all langage or not, get the good default value in function.
TagsNo tags attached.
Attached Files
Bug heat6
Complete LimeSurvey version number (& build)9118
I will donate to the project if issue is resolved
Browserall
Database type & versionMySQL 5.0.77
Server OS (if known)Linux
Webserver software & version (if known)apache
PHP VersionPHH 5.2

Users monitoring this issue

DenisChenu

Activities

c_schmitz

c_schmitz

2010-09-10 12:02

administrator   ~12813

Hi!

Didn't you fix that one already?

DenisChenu

DenisChenu

2010-09-10 12:20

developer   ~12815

No, i just fix for exporting, the file was done with the fix.

I don't search for fix because there 2 solution : the first seem more easy , but if i put a english survey with default value and after i add another langage : this langage doesn't have default value.

For the second i look for a while (default value at session with conditionnal if same default value ) but it seem more complicated (using lime_questions.same_default i think), but it the best solution.

Then before search for a fix i prefer to ask what is solution to take.

(PS: i think it's a bad idea to have different value for each langage, it's great only for text question, but there are no default value for text question ;))

c_schmitz

c_schmitz

2010-09-10 23:38

administrator   ~12828

As said on IRC: Please use solution 2 thank you!

DenisChenu

DenisChenu

2010-09-11 20:23

developer   ~12830

Fix in 9124

c_schmitz

c_schmitz

2010-09-29 16:29

administrator   ~12936

New 1.90+ version was released.

Issue History

Date Modified Username Field Change
2010-09-09 19:00 DenisChenu New Issue
2010-09-09 19:00 DenisChenu File Added: limesurvey_survey_bugdeflang.lss
2010-09-09 19:00 DenisChenu Issue Monitored: DenisChenu
2010-09-10 12:02 c_schmitz Note Added: 12813
2010-09-10 12:03 c_schmitz Assigned To => DenisChenu
2010-09-10 12:03 c_schmitz Status new => feedback
2010-09-10 12:20 DenisChenu Note Added: 12815
2010-09-10 12:20 DenisChenu Status feedback => assigned
2010-09-10 23:38 c_schmitz Note Added: 12828
2010-09-11 20:23 DenisChenu Note Added: 12830
2010-09-11 20:24 DenisChenu Status assigned => resolved
2010-09-11 20:24 DenisChenu Fixed in Version => 1.90+
2010-09-16 11:33 DenisChenu Resolution open => fixed
2010-09-29 16:29 c_schmitz Note Added: 12936
2010-09-29 16:29 c_schmitz Status resolved => closed
2021-08-04 22:19 guest Bug heat 4 => 6