View Issue Details

This bug affects 1 person(s).
 8
IDProjectCategoryView StatusLast Update
05012Bug reportsSurvey takingpublic2011-04-11 11:30
Reporteruser12634Assigned Tojcleeland  
PrioritynormalSeverityminor 
Status closedResolutionfixed 
Product Version1.91RC4 
Fixed in Version1.91RC6 
Summary05012: Array filter in Array(Texts) works wrong
Description

Array filter functionality in Array(Texts) is marking filtered rows as mandatory instead of showing only that rows (as described on the wiki and as another Array(Something) types work).

Steps To Reproduce
  • Create the question of type "Multiple choice";
  • Create the question of type "Array(Texts)" with the same subqestions on X-axis as the subqestions of a question you have just created in the previous point;
  • Set the "Filter" of "Array(Texts)" question to the question created in the first point;
  • use interview preview.
TagsNo tags attached.
Bug heat8
Complete LimeSurvey version number (& build)9797
I will donate to the project if issue is resolvedNo
Browser
Database type & versionMysql 5.1
Server OS (if known)Ubuntu Server 9.04
Webserver software & version (if known)Apache 2.2.12
PHP Version5.2.10

Relationships

duplicate of 05051 closedjcleeland Array filter exclusion and array filter don't work in array text 

Users monitoring this issue

dynia

Activities

user12634

2011-03-25 22:42

  ~14539

Last edited: 2011-03-25 22:42

Uncommenting line 6327 (this is a body od a function do_array_multitext()) in qanda.php:
6324: // Get array_filter stuff
6325: list($htmltbody2, $hiddenfield)=return_array_filter_strings($ia, $qidattributes, $thissurvey, $ansrow, $myfname, $trbc, $myfname);
6326:
6327: $answer .= $htmltbody2;

seems to be a solution.

But why it was commented?

user12634

2011-03-25 22:45

  ~14540

Anyway it is solved (this line isn't commented) in 1.91RC5

jcleeland

jcleeland

2011-03-26 03:21

reporter   ~14542

Sorry you had to do all the debugging work to find this bug which I fixed a few days ago.. not sure why it hasn't updated as closed since I did do all that on the bugchecker, but maybe this is a seperate bug that was just the same one.

Thanks for noting it, and I had the same question.. who commented it out in the first place? Bizarre!

jcleeland

jcleeland

2011-03-26 03:24

reporter   ~14544

Duplicate of 05051, which was resolved in SVN build 9909

c_schmitz

c_schmitz

2011-04-11 11:30

administrator   ~14762

1.91RC6 released.

Issue History

Date Modified Username Field Change
2011-03-08 23:40 user12634 New Issue
2011-03-08 23:40 user12634 Status new => assigned
2011-03-08 23:40 user12634 Assigned To => lemeur
2011-03-10 08:28 user12634 Issue Monitored: user12634
2011-03-10 09:21 dynia Issue Monitored: dynia
2011-03-10 12:26 c_schmitz Assigned To lemeur => jcleeland
2011-03-10 12:26 c_schmitz Category Conditions => Survey taking
2011-03-25 22:42 user12634 Note Added: 14539
2011-03-25 22:42 user12634 Note Edited: 14539
2011-03-25 22:45 user12634 Note Added: 14540
2011-03-26 03:21 jcleeland Note Added: 14542
2011-03-26 03:24 jcleeland Note Added: 14544
2011-03-26 03:24 jcleeland Relationship added duplicate of 05051
2011-03-26 03:24 jcleeland Status assigned => resolved
2011-03-26 03:24 jcleeland Fixed in Version => 1.91RC6
2011-03-26 03:24 jcleeland Resolution open => fixed
2011-04-11 11:30 c_schmitz Note Added: 14762
2011-04-11 11:30 c_schmitz Status resolved => closed
2021-08-03 10:32 guest Bug heat 6 => 8