View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|14281||Bug reports||[All Projects] Survey design||public||2018-11-23 15:23||2019-01-25 13:49|
|Target Version||Fixed in Version|
|Summary||14281: Silently changes question conditions of all questions if one single question was changed|
I've created a survey based on two OR conditions. Only one of the two conditions can fulfilled at a time.
Whenever I change a detail inside a survey question, the OR conditions change to AND. As a result, all participants of the survey will never see this question, if I do not change them all manually after each change.
|Steps To Reproduce|
Go to question group:
The two survey files (before and after) are attached. Note that the OR conditions change to AND even during importing the file, so they will appear identical after the import.
Differences between the files:
diff Bug-Report(before\ change).lss Bug-Report(after\ change).lss
|Tags||No tags attached.|
|Complete LimeSurvey version number (& build)||Version 3.15.5+181115|
|I will donate to the project if issue is resolved||No|
|Database & DB-Version||MySQL 5.7.24-0ubuntu0.16.04.1 (Ubuntu)|
|Server OS (if known)||Ubuntu 16.04.1 LTS (GNU/Linux 4.4.0-130-generic x86_64)|
|Webserver software & version (if known)||Apache/2.4.18 (Ubuntu)|
|PHP Version||PHP 7.0.32-0ubuntu0.16.04.1 (cli) ( NTS )|
Bug-Report_(after change).lss (20,165 bytes)
Bug-Report_(before change).lss (20,127 bytes)
thank you for that detailed bug report, highly
So I think the bug is not real, but you just get confused. I let the bug opened in case I'm missing something and you want to tell it.
The lss files are not identical. The differences are in lines 154, 163 and 172: "Bug-Report(before change).lss" has AND conditions in these lines, while "Bug-Report(after change).lss" has OR conditions in these lines.
But: Since the affected limesurvey version also changes OR conditions to AND conditions when importing files, both files will, of course, result in the same survey when they are imported (which is not the expected behavior).
"limesurvey version also changes OR conditions to AND conditions when importing files" ?
ok I confirm that conditions from the lss is changed after import.
I'm able to confirm this bug on a fresh install. Question 2 and Question 3 change after import.
ok so I've just tested with a 2.06, and the bug exists too. So it's going to be hard one to fix.... :(
After import : when view Question2 ( that rae set to AND when import) : reset to OR, add a condition, remove this condition : OK after.
Bad reset of condition to question->relevance (not the god function used) .Don't remind where is the good function (currently)
|2018-11-23 15:23||swflng||New Issue|
|2018-11-23 15:23||swflng||File Added: Bug-Report_(after change).lss|
|2018-11-23 15:23||swflng||File Added: Bug-Report_(before change).lss|
|2019-01-10 16:40||LouisGac||Assigned To||=> markusfluer|
|2019-01-10 16:40||LouisGac||Status||new => assigned|
|2019-01-16 11:03||LouisGac||Assigned To||markusfluer => LouisGac|
|2019-01-16 12:00||LouisGac||Note Added: 50216|
|2019-01-16 12:49||swflng||Note Added: 50217|
|2019-01-16 14:42||LouisGac||Note Added: 50218|
|2019-01-16 14:57||LouisGac||Note Added: 50220|
|2019-01-16 15:06||swflng||Note Added: 50222|
|2019-01-16 15:12||LouisGac||Note Added: 50223|
|2019-01-25 13:47||DenisChenu||Note Added: 50313|
|2019-01-25 13:49||DenisChenu||Note Edited: 50313||View Revisions|