View Issue Details

This issue affects 1 person(s).
 6
IDProjectCategoryView StatusLast Update
04462Bug reportsSurvey takingpublic2010-08-06 17:35
Reporteruser8838Assigned To 
PrioritynormalSeveritypartial_block 
Status closedResolutionunable to reproduce 
Product Version1.87+ 
Summary04462: Array_filter data not saved.
Description

When using array_filter to filter visible answer options, the chosen answer(s) in the question using the filter are not saved.

Steps To Reproduce
  • Create survey. --> Display 1 by 1
  • Create question group.
  • Create multiple choice multiple answer question (Q001).
  • Answer options:
    1 a
    2 b
    3 c
    4 d
  • Create multiple choice single answer question (Q002)
  • Add same answer options, set array filter to Q001
  • Create another question of type Boilerplate.
Additional Information
  • When testing the survey it seems to work.
  • When using the activated survey, will silently fail to save information to database.

-- When setting Q002 to mandatory, will NOT allow user to proceed with the survey.

TagsNo tags attached.
Attached Files
limesurvey_survey_61631(2).csv (6,756 bytes)   
# LimeSurvey Survey Dump
# DBVersion 142
# This is a dumped survey from the LimeSurvey Script
# http://www.limesurvey.org/
# Do not change this header!

#
# SURVEYS TABLE
#
"sid","owner_id","admin","active","expires","startdate","adminemail","private","faxto","format","template","language","additional_languages","datestamp","usecookie","notification","allowregister","allowsave","autonumber_start","autoredirect","allowprev","printanswers","ipaddr","refurl","datecreated","publicstatistics","publicgraphs","listpublic","htmlemail","tokenanswerspersistence","assessments","usecaptcha","usetokens","bounce_email","attributedescriptions","emailresponseto","tokenlength"
"61631","1","Sam Mousa","N","","","sam@befound.nl","Y","","S","markteffect1","nl","","N","N","0","N","Y","10","N","Y","N","N","N","2010-07-05","N","N","N","Y","N","N","D","N","sam@befound.nl","","","15"

#
# GROUPS TABLE
#
"gid","sid","group_name","group_order","description","language"
"121","61631","test1","0","","nl"

#
# QUESTIONS TABLE
#
"qid","sid","gid","type","title","question","preg","help","other","mandatory","lid","lid1","question_order","language"
"2931","61631","121","M","V001","<p>Vraag 1</p>","","","N","N","0","0","0","nl"
"2932","61631","121","L","V002","Vraag 2","","","N","Y","0","0","1","nl"
"2933","61631","121","T","V003","Vraag 3","","","N","N","0","0","2","nl"
"2934","61631","121","T","V004","vraag 4","","","N","N","0","0","3","nl"

#
# ANSWERS TABLE
#
"qid","code","answer","default_value","assessment_value","sortorder","language"
"2931","1","VMBO","N","0","0","nl"
"2931","2","HAVO","N","0","1","nl"
"2931","3","VWO","N","0","2","nl"
"2932","1","VMBO","N","0","1","nl"
"2932","2","HAVO","N","0","2","nl"
"2932","3","VWO","N","0","3","nl"

#
# CONDITIONS TABLE
#

#
# LABELSETS TABLE
#

#
# LABELS TABLE
#

#
# QUESTION_ATTRIBUTES TABLE
#
"qaid","qid","attribute","value"
"40113","2931","random_order","0"
"40112","2931","public_statistics","0"
"40111","2931","page_break","0"
"40110","2931","other_replace_text",""
"40109","2931","other_numbers_only","0"
"40175","2931","max_answers",""
"40107","2931","hidden","0"
"40106","2931","hide_tip","0"
"40105","2931","display_columns","1"
"40104","2931","array_filter_exclude",""
"40103","2931","array_filter",""
"40174","2931","exclude_all_others",""
"40114","2931","scale_export","0"
"40116","2932","hidden","0"
"40173","2932","scale_export","0"
"40118","2932","page_break","0"
"40172","2932","random_order","0"
"40171","2932","public_statistics","0"
"40170","2932","other_replace_text",""
"40169","2932","other_numbers_only","0"
"40168","2932","other_comment_mandatory","0"
"40167","2932","hide_tip","0"
"40166","2932","display_columns","1"
"40165","2932","array_filter_exclude",""
"40164","2932","array_filter","V001"
"40163","2932","alphasort","0"
"40131","2933","display_rows",""
"40132","2933","hidden","0"
"40133","2933","maximum_chars",""
"40134","2933","page_break","0"
"40135","2933","text_input_width",""
"40136","2933","time_limit",""
"40137","2933","time_limit_action","1"
"40138","2933","time_limit_message",""
"40139","2933","time_limit_message_delay",""
"40140","2933","time_limit_disable_next","0"
"40141","2933","time_limit_message_style",""
"40142","2933","time_limit_timer_style",""
"40143","2933","time_limit_warning",""
"40144","2933","time_limit_warning_display_time",""
"40145","2933","time_limit_warning_message",""
"40146","2933","time_limit_warning_style",""
"40147","2934","display_rows",""
"40148","2934","hidden","0"
"40149","2934","maximum_chars",""
"40150","2934","page_break","0"
"40151","2934","text_input_width",""
"40152","2934","time_limit",""
"40153","2934","time_limit_action","1"
"40154","2934","time_limit_message",""
"40155","2934","time_limit_message_delay",""
"40156","2934","time_limit_disable_next","0"
"40157","2934","time_limit_message_style",""
"40158","2934","time_limit_timer_style",""
"40159","2934","time_limit_warning",""
"40160","2934","time_limit_warning_display_time",""
"40161","2934","time_limit_warning_message",""
"40162","2934","time_limit_warning_style",""
"40176","2931","min_answers",""

#
# ASSESSMENTS TABLE
#

#
# SURVEYS_LANGUAGESETTINGS TABLE
#
"surveyls_survey_id","surveyls_language","surveyls_title","surveyls_description","surveyls_welcometext","surveyls_endtext","surveyls_url","surveyls_urldescription","surveyls_email_invite_subj","surveyls_email_invite","surveyls_email_remind_subj","surveyls_email_remind","surveyls_email_register_subj","surveyls_email_register","surveyls_email_confirm_subj","surveyls_email_confirm","surveyls_dateformat"
"61631","nl","Test1","","","","","","Uitnodiging om deel te nemen aan {SURVEYNAME}","Geachte {FIRSTNAME},<br /><br />U bent uitgenodigd om deel te nemen aan een onderzoek.<br /><br />Het onderzoek is genaamd:<br />'{SURVEYNAME}'<br /><br />'{SURVEYDESCRIPTION}'<br /><br />Om aan het onderzoek deel te nemen moet u op onderstaande link klikken.<br /><br />Hoogachtend,<br /><br />{ADMINNAME} ({ADMINEMAIL})<br /><br />----------------------------------------------<br />Klik <br />{SURVEYURL}<br /> om aan het onderzoek deel te nemen.","Herinnering om deel te nemen aan onderzoek {SURVEYNAME}","Geachte {FIRSTNAME},<br /><br />Recent bent u uitgenodigd om aan een onderzoek deel te nemen.<br /><br />We hebben geconstateerd dat u nog niet aan het onderzoek hebt deelgenomen en willen u er bij deze aan herinneren dat het onderzoek nog loopt en dat u, als u dat wilt, nog kan deelnemen. <br /><br />Het onderzoek is getiteld: <br />''{SURVEYNAME}""<br /><br />''{SURVEYDESCRIPTION}""<br /><br />Om deel te nemen klikt u op onderstaande link. <br /><br />Hoogachtend,<br /><br />{ADMINNAME} ({ADMINEMAIL})<br /><br />----------------------------------------------<br />Klik:<br />{SURVEYURL} om aan het onderzoek deel te nemen.","Bevestiging aanmelding vragenlijst","Geachte {FIRSTNAME},<br /><br />U, of iemand die uw e-mailadres gebruikt, heeft zich aangemeld voor deelname aan de online onderzoek getiteld {SURVEYNAME}.<br /><br />Klik om aan het onderzoek mee te doen op onderstaande link:<br /><br />{SURVEYURL}<br /><br />Als u vragen heeft over de vragenlijst, of als u zich niet heeft aangemeld voor deelname en meent dat u deze E-mail ten onrechte heeft ontvangen, kunt u contact opnemen met {ADMINNAME} via {ADMINEMAIL}.","Bevestiging afronding vragenlijst","Beste {FIRSTNAME},<br /><br />Dit e-mail bericht bevestigt dat u de vragenlijst {SURVEYNAME} heeft ingevuld en dat uw antwoorden zijn opgeslagen. Dank u voor uw deelname.<br /><br />Als u vragen heeft over deze e-mail, neemt u dan contact op met de beheerder {ADMINNAME} via {ADMINEMAIL}.<br /><br />Hoogachtend,<br /><br />{ADMINNAME}","1"

#
# QUOTA TABLE
#

#
# QUOTA_MEMBERS TABLE
#

#
# QUOTA_LANGUAGESETTINGS TABLE
#

limesurvey_survey_61631(2).csv (6,756 bytes)   
Bug heat6
Complete LimeSurvey version number (& build)8515
I will donate to the project if issue is resolved
Browser
Database type & versionMySQL 4.1.21-standard
Server OS (if known)Linux
Webserver software & version (if known)Apache/1.3.37
PHP Version5
Git branch / Pull Request URL

Users monitoring this issue

There are no users monitoring this issue.

Activities

c_schmitz

c_schmitz

2010-07-06 11:45

administrator   ~12363

Can you please attach a short sample survey which demonstrate the problem.
Also if possible download 1.90RC2 and see if the problem is gone there.

user8838

2010-07-11 09:50

  ~12383

Last edited: 2010-07-11 09:52

At this moment I cannot test it in the new version as it's running in a production environment. AFAIK there is no reason for it to be broken in 1.87 or fixed in 1.90 as there are no related bug reports or changes in the changelog.

EDIT: First time I uploaded the wrong version of the survey.

Mazi

Mazi

2010-07-13 01:44

updater   ~12390

I can NOT reproduce the problem using the attached survey and the latest SVN version.

sam, you can set up an additional Limesurvey system by just using another DB prefix. Maybe you can test using the latest 1.90 RC2?!

user8838

2010-07-17 13:19

  ~12440

I'll try to setup a 1.90 environment tomorrow.

c_schmitz

c_schmitz

2010-08-06 17:35

administrator   ~12586

Closing issue due to missing feedback.

Issue History

Date Modified Username Field Change
2010-07-05 22:10 user8838 New Issue
2010-07-05 22:10 user8838 Status new => assigned
2010-07-05 22:10 user8838 Assigned To => user372
2010-07-06 11:45 c_schmitz Note Added: 12363
2010-07-06 11:45 c_schmitz Assigned To user372 => c_schmitz
2010-07-06 11:45 c_schmitz Status assigned => feedback
2010-07-11 09:49 user8838 File Added: limesurvey_survey_61631.csv
2010-07-11 09:50 user8838 Note Added: 12383
2010-07-11 09:50 user8838 Status feedback => assigned
2010-07-11 09:51 user8838 File Added: limesurvey_survey_61631(2).csv
2010-07-11 09:52 user8838 Note Edited: 12383
2010-07-12 00:40 c_schmitz Assigned To c_schmitz => Evan
2010-07-13 01:40 Mazi File Deleted: limesurvey_survey_61631.csv
2010-07-13 01:44 Mazi Note Added: 12390
2010-07-13 01:44 Mazi Status assigned => feedback
2010-07-17 13:19 user8838 Note Added: 12440
2010-07-17 13:19 user8838 Status feedback => assigned
2010-08-06 17:35 c_schmitz Note Added: 12586
2010-08-06 17:35 c_schmitz Status assigned => closed
2010-08-06 17:35 c_schmitz Assigned To Evan =>
2010-08-06 17:35 c_schmitz Resolution open => unable to reproduce
2010-10-25 00:18 c_schmitz Category Survey at Runtime => Survey taking