View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
04376 | Bug reports | Conditions | public | 2010-05-28 11:37 | 2010-06-08 21:51 |
Reporter | Tino | Assigned To | lemeur | ||
Priority | normal | Severity | minor | ||
Status | closed | Resolution | fixed | ||
Product Version | 1.87+ | ||||
Fixed in Version | 1.90RC1 | ||||
Summary | 04376: "no answer" condition remove recorded value | ||||
Description | I have questions (on different groups) (we'll call QX) depending on a "no answer" conditions from a numerical input (we'll call the question QC). | ||||
Steps To Reproduce | Initial configuration :
I add a token and begin to fill the survey :
| ||||
Additional Information | Find attached an export from the survey structure. I also tested this problem with the Version 1.85+ (7523). | ||||
Tags | No tags attached. | ||||
Attached Files | |||||
Bug heat | 6 | ||||
Complete LimeSurvey version number (& build) | 8518 | ||||
I will donate to the project if issue is resolved | |||||
Browser | Firefox 3.6 | ||||
Database type & version | Mysql 5.0 | ||||
Server OS (if known) | Linux Ubuntu | ||||
Webserver software & version (if known) | Apache 2.2.8 | ||||
PHP Version | php5 | ||||
Texens, can you check if you can reproduce the problem? |
|
Confirmed, I was able to reproduce the problem with 1.90b3 build 8780. |
|
Pb identified. For Numerical, MultipleNumeric and Date questions a the typical no answer code (either '' or ' ') can't be set (it's not a Double, or Date field). So we let the value to NULL in DB. However the $_SESSION[thefieldname] si set to ' ' which causes the checkconfield() to be working well => other answers having the Equals-No-Answer conditions on Q1A are recorded to DB When loadanswers() is then called, since the DB field is NULL, the corresponding $_SESSION[] are reseted to NULL. Since NULL isn't the same as '' or ' ', the checkconfield decides that the questions having the Equals-No-Answer conditions on Q1A should be hidden, and thus reset any answers in DB !!!!! Solution: |
|
Fixed in rev 8799. |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2010-05-28 11:37 | Tino | New Issue | |
2010-05-28 11:37 | Tino | Status | new => assigned |
2010-05-28 11:37 | Tino | Assigned To | => user372 |
2010-05-28 11:37 | Tino | File Added: limesurvey_survey_condition.csv | |
2010-05-28 15:03 | Tino | Issue Monitored: Tino | |
2010-05-28 15:03 | Tino | Issue End Monitor: Tino | |
2010-05-29 15:44 | Mazi | Note Added: 12022 | |
2010-05-29 15:44 | Mazi | Assigned To | user372 => texens |
2010-06-02 18:10 | texens | Note Added: 12101 | |
2010-06-02 18:10 | texens | Status | assigned => confirmed |
2010-06-03 21:25 | lemeur | Assigned To | texens => lemeur |
2010-06-03 21:25 | lemeur | Status | confirmed => assigned |
2010-06-04 15:48 | lemeur | Note Added: 12168 | |
2010-06-04 15:48 | lemeur | Status | assigned => confirmed |
2010-06-04 22:03 | lemeur | Note Added: 12176 | |
2010-06-04 22:03 | lemeur | Status | confirmed => resolved |
2010-06-04 22:03 | lemeur | Fixed in Version | => 1.90RC1 |
2010-06-04 22:03 | lemeur | Resolution | open => fixed |
2010-06-08 21:51 | c_schmitz | Status | resolved => closed |