View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
14281 | Bug reports | Survey editing | public | 2018-11-23 15:23 | 2021-08-31 08:43 |
Reporter | swflng | Assigned To | |||
Priority | none | Severity | partial_block | ||
Status | closed | Resolution | fixed | ||
Product Version | 3.15.x | ||||
Summary | 14281: Silently changes question conditions of all questions if one single question was changed | ||||
Description | 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:
Trigger bug:
| ||||
Additional Information | 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. | ||||
Attached Files | |||||
Bug heat | 10 | ||||
Complete LimeSurvey version number (& build) | Version 3.15.5+181115 | ||||
I will donate to the project if issue is resolved | No | ||||
Browser | |||||
Database type & 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 ) | ||||
thank you for that detailed bug report, highly but:
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) See if https://github.com/LimeSurvey/LimeSurvey/blob/master/application/helpers/expressions/em_manager_helper.php#L784 is OK |
|
You're using an outdated version of LimeSurvey. Please update to the latest version and check if the bug can still be reproduced. Thank you. |
|
Hello swflng, we have asked for feedback on this issue. Because we did not get an answer we assume that the issue is resolved. Thank you and best regards, c_schmitz |
|
Date Modified | Username | Field | Change |
---|---|---|---|
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 |
|
Assigned To | => markusfluer |
2019-01-10 16:40 |
|
Status | new => assigned |
2019-01-16 11:03 |
|
Assigned To | markusfluer => LouisGac |
2019-01-16 12:00 |
|
Note Added: 50216 | |
2019-01-16 12:49 | swflng | Note Added: 50217 | |
2019-01-16 14:42 |
|
Note Added: 50218 | |
2019-01-16 14:57 |
|
Note Added: 50220 | |
2019-01-16 15:06 | swflng | Note Added: 50222 | |
2019-01-16 15:12 |
|
Note Added: 50223 | |
2019-01-25 13:47 | DenisChenu | Note Added: 50313 | |
2019-01-25 13:49 | DenisChenu | Note Edited: 50313 | |
2019-11-01 17:25 | c_schmitz | Category | Survey design => Survey editing |
2021-03-10 17:01 | ollehar | Status | assigned => feedback |
2021-03-10 17:01 | ollehar | Note Added: 63033 | |
2021-08-31 08:43 | c_schmitz | Status | feedback => closed |
2021-08-31 08:43 | c_schmitz | Resolution | open => fixed |
2021-08-31 08:43 | c_schmitz | Note Added: 66210 | |
2021-08-31 08:43 | c_schmitz | Bug heat | 8 => 10 |