View Issue Details

This issue affects 1 person(s).
 4
IDProjectCategoryView StatusLast Update
08286Bug reportsSurvey editingpublic2013-10-16 15:51
ReporterDenisChenu Assigned ToDenisChenu  
PrioritynormalSeverityminor 
Status closedResolutionno change required 
Product Version2.00+ 
Summary08286: Deafult value are not resetted when update question type
Description

When set some default value for a question (multi text for example), after updating question type : the default value are not resetted.

Steps To Reproduce

Create a multi text question type
Set a default value for some of subquestion
Update the question type
Look at the DB : default value for old question type are still there

Additional Information

When importing included lss: you see 2 default value, but there are no default value here.
Import is OK (here) on lss 2.00 but broke in some condition 1.92 : seems we can have some primary key in default value.

I trye to find exact step to reproduce.

Here : we have :

  • To fix it when update question type (if q type have subq or not, leave it for single question type ? (then you can set TEXT for singe choice, but don't break survey).
  • To fix it in "check integrity"
TagsNo tags attached.
Attached Files
Bug heat4
Complete LimeSurvey version number (& build)131015
I will donate to the project if issue is resolvedNo
Browsernot relevant
Database type & versionMysql 5
Server OS (if known)not relevant
Webserver software & version (if known)not relevant
PHP Versionnot relevant
Git branch / Pull Request URL

Users monitoring this issue

There are no users monitoring this issue.

Activities

c_schmitz

c_schmitz

2013-10-15 11:47

administrator   ~26802

How is this a bug? I consider it more of a feature because the advanced question settings are retained and loaded if you revert to the previous question type.

DenisChenu

DenisChenu

2013-10-15 12:03

developer   ~26803

If you revert :

  • Multiple
  • Single
  • Multiple

Default value are not resetted because Sub question id are updated.

I don't find how exactly some user have problem, but seems in some condition we have some primary key problem here.

DenisChenu

DenisChenu

2013-10-16 15:51

developer   ~26823

Check integrity fix it.

Issue History

Date Modified Username Field Change
2013-10-15 08:36 DenisChenu New Issue
2013-10-15 08:36 DenisChenu File Added: limesurvey_survey_baddefault.lss
2013-10-15 11:47 c_schmitz Note Added: 26802
2013-10-15 12:03 DenisChenu Note Added: 26803
2013-10-16 15:51 DenisChenu Note Added: 26823
2013-10-16 15:51 DenisChenu Status new => closed
2013-10-16 15:51 DenisChenu Assigned To => DenisChenu
2013-10-16 15:51 DenisChenu Resolution open => no change required
2019-11-01 17:25 c_schmitz Category Survey design => Survey editing