View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|13531||Bug reports||[All Projects] Conditions||public||2018-03-24 20:08||2018-05-16 14:59|
|Target Version||Fixed in Version|
|Summary||13531: No recorded responses for a displayed question|
|Description||I have a survey with a numeric input type question (Q42) followed by an Array (1-5) -- Q43.|
The array question (Q43) had a condition on it to only display if :
((Q42.NAOK > " "))
When testing this survey, if I left Q42 blank, then Q43 was hidden, and if I entered a value, Q43 was shown, as expected.
I understand in restrospect that I should have used !is_empty(Q42) instead ... however my testing showed that Q43 was displayed.
I activated the survey, and after collecting data from 10,000+ respondents, discovered that in all cases responses Q43 was blank. Q43 wasn't set to mandatory, but with the number of respondents, it seems unlikely that anyone who entered a value for Q42 would skip Q43.
My survey format was set to "Group by Group"... and Q43 appeared but ....
... I did discover that I run my survey with format "question by question" q43 is NEVER displayed (and so -> no answers). In format "group by group" q43 is displayed, but handled as if not displayed -> no answers.
|Tags||No tags attached.|
|Complete LimeSurvey version number (& build)||2.73.0 b171219 (but confirmed in latest LS 3 release as well)|
|I will donate to the project if issue is resolved||No|
|Database & DB-Version||mySQL 5.6.37|
|Operating System (Server)||CentOs|
|Webserver software & version||Apache|
survey_779287.lss (21,248 bytes)
We add some '' in test for expression : https://github.com/LimeSurvey/LimeSurvey/commit/e8a42231651bdea5c1c2f1e88b8b0d382fbbc131
Strange this was not fixed after testing and improve system :/
|This again? I didn't get the time to fix it completely before. I think the recommended solution is to _never_ compare with empty string.|
|so, where are we with this bug olle?|
|Right now: I'll never have time to fix it completely. Unless Carsten decides to make it a priority.|
|2018-03-24 20:08||blocka||New Issue|
|2018-03-24 20:08||blocka||File Added: survey_779287.lss|
|2018-03-25 11:49||DenisChenu||Note Added: 47208|
|2018-03-26 10:11||olle||Note Added: 47212|
|2018-05-16 13:42||LouisGac||Assigned To||=> olle|
|2018-05-16 13:42||LouisGac||Status||new => assigned|
|2018-05-16 13:42||LouisGac||Note Added: 47644|
|2018-05-16 14:20||olle||Note Added: 47650|
|2018-05-16 14:59||LouisGac||Note Added: 47653|