View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
05041 | Bug reports | Other | public | 2011-03-18 17:07 | 2012-01-30 18:41 |
Reporter | jas | Assigned To | jcleeland | ||
Priority | normal | Severity | partial_block | ||
Status | closed | Resolution | fixed | ||
Product Version | 1.91RC4 | ||||
Fixed in Version | 1.92RC3 | ||||
Summary | 05041: Errror in Array filtering | ||||
Description | Array-filtering is not working correctly when the first item of the answerlist is not selected. As a result a complete list of the selected items will be placed in the first answer-position of the question that uses the arrayfiltering. This behaviour is also there in 1.90+. A fix is here below. | ||||
Steps To Reproduce | Create question Nr1, M or P type, with several possible answers. Of course only in group-by-group-mode. | ||||
Additional Information | We think we fixed it in common_functions.php.
| ||||
Tags | No tags attached. | ||||
Attached Files | limesurvey_survey_45296.lss (29,772 bytes)
<?xml version="1.0" encoding="UTF-8"?> <document> <LimeSurveyDocType>Survey</LimeSurveyDocType> <DBVersion>143</DBVersion> <languages> <language>en</language> </languages> <groups> <fields> <fieldname>gid</fieldname> <fieldname>sid</fieldname> <fieldname>group_name</fieldname> <fieldname>group_order</fieldname> <fieldname>description</fieldname> <fieldname>language</fieldname> </fields> <rows> <row> <gid><![CDATA[4]]></gid> <sid><![CDATA[45296]]></sid> <group_name><![CDATA[A.]]></group_name> <group_order><![CDATA[0]]></group_order> <description><![CDATA[]]></description> <language><![CDATA[en]]></language> </row> <row> <gid><![CDATA[5]]></gid> <sid><![CDATA[45296]]></sid> <group_name><![CDATA[B.]]></group_name> <group_order><![CDATA[1]]></group_order> <description><![CDATA[]]></description> <language><![CDATA[en]]></language> </row> </rows> </groups> <questions> <fields> <fieldname>qid</fieldname> <fieldname>parent_qid</fieldname> <fieldname>sid</fieldname> <fieldname>gid</fieldname> <fieldname>type</fieldname> <fieldname>title</fieldname> <fieldname>question</fieldname> <fieldname>preg</fieldname> <fieldname>help</fieldname> <fieldname>other</fieldname> <fieldname>mandatory</fieldname> <fieldname>question_order</fieldname> <fieldname>language</fieldname> <fieldname>scale_id</fieldname> <fieldname>same_default</fieldname> </fields> <rows> <row> <qid><![CDATA[45]]></qid> <parent_qid><![CDATA[0]]></parent_qid> <sid><![CDATA[45296]]></sid> <gid><![CDATA[4]]></gid> <type><![CDATA[M]]></type> <title><![CDATA[V10]]></title> <question><![CDATA[Choose you favourite car]]></question> <preg><![CDATA[]]></preg> <help><![CDATA[]]></help> <other><![CDATA[N]]></other> <mandatory><![CDATA[N]]></mandatory> <question_order><![CDATA[0]]></question_order> <language><![CDATA[en]]></language> <scale_id><![CDATA[0]]></scale_id> <same_default><![CDATA[0]]></same_default> </row> <row> <qid><![CDATA[58]]></qid> <parent_qid><![CDATA[0]]></parent_qid> <sid><![CDATA[45296]]></sid> <gid><![CDATA[5]]></gid> <type><![CDATA[M]]></type> <title><![CDATA[v20]]></title> <question><![CDATA[Wich brands do you like most?]]></question> <preg><![CDATA[]]></preg> <help><![CDATA[]]></help> <other><![CDATA[N]]></other> <mandatory><![CDATA[N]]></mandatory> <question_order><![CDATA[0]]></question_order> <language><![CDATA[en]]></language> <scale_id><![CDATA[0]]></scale_id> <same_default><![CDATA[0]]></same_default> </row> </rows> </questions> <subquestions> <fields> <fieldname>qid</fieldname> <fieldname>parent_qid</fieldname> <fieldname>sid</fieldname> <fieldname>gid</fieldname> <fieldname>type</fieldname> <fieldname>title</fieldname> <fieldname>question</fieldname> <fieldname>preg</fieldname> <fieldname>help</fieldname> <fieldname>other</fieldname> <fieldname>mandatory</fieldname> <fieldname>question_order</fieldname> <fieldname>language</fieldname> <fieldname>scale_id</fieldname> <fieldname>same_default</fieldname> </fields> <rows> <row> <qid><![CDATA[46]]></qid> <parent_qid><![CDATA[45]]></parent_qid> <sid><![CDATA[45296]]></sid> <gid><![CDATA[4]]></gid> <type><![CDATA[T]]></type> <title><![CDATA[1]]></title> <question><![CDATA[Volvo]]></question> <preg><![CDATA[]]></preg> <help><![CDATA[]]></help> <other><![CDATA[N]]></other> <mandatory><![CDATA[]]></mandatory> <question_order><![CDATA[1]]></question_order> <language><![CDATA[en]]></language> <scale_id><![CDATA[0]]></scale_id> <same_default><![CDATA[0]]></same_default> </row> <row> <qid><![CDATA[47]]></qid> <parent_qid><![CDATA[45]]></parent_qid> <sid><![CDATA[45296]]></sid> <gid><![CDATA[4]]></gid> <type><![CDATA[T]]></type> <title><![CDATA[2]]></title> <question><![CDATA[Volkswagen]]></question> <preg><![CDATA[]]></preg> <help><![CDATA[]]></help> <other><![CDATA[N]]></other> <mandatory><![CDATA[]]></mandatory> <question_order><![CDATA[2]]></question_order> <language><![CDATA[en]]></language> <scale_id><![CDATA[0]]></scale_id> <same_default><![CDATA[0]]></same_default> </row> <row> <qid><![CDATA[48]]></qid> <parent_qid><![CDATA[45]]></parent_qid> <sid><![CDATA[45296]]></sid> <gid><![CDATA[4]]></gid> <type><![CDATA[T]]></type> <title><![CDATA[3]]></title> <question><![CDATA[Audi]]></question> <preg><![CDATA[]]></preg> <help><![CDATA[]]></help> <other><![CDATA[N]]></other> <mandatory><![CDATA[]]></mandatory> <question_order><![CDATA[3]]></question_order> <language><![CDATA[en]]></language> <scale_id><![CDATA[0]]></scale_id> <same_default><![CDATA[0]]></same_default> </row> <row> <qid><![CDATA[49]]></qid> <parent_qid><![CDATA[45]]></parent_qid> <sid><![CDATA[45296]]></sid> <gid><![CDATA[4]]></gid> <type><![CDATA[T]]></type> <title><![CDATA[4]]></title> <question><![CDATA[Porche]]></question> <preg><![CDATA[]]></preg> <help><![CDATA[]]></help> <other><![CDATA[N]]></other> <mandatory><![CDATA[]]></mandatory> <question_order><![CDATA[4]]></question_order> <language><![CDATA[en]]></language> <scale_id><![CDATA[0]]></scale_id> <same_default><![CDATA[0]]></same_default> </row> <row> <qid><![CDATA[50]]></qid> <parent_qid><![CDATA[45]]></parent_qid> <sid><![CDATA[45296]]></sid> <gid><![CDATA[4]]></gid> <type><![CDATA[T]]></type> <title><![CDATA[5]]></title> <question><![CDATA[Mercedes]]></question> <preg><![CDATA[]]></preg> <help><![CDATA[]]></help> <other><![CDATA[N]]></other> <mandatory><![CDATA[]]></mandatory> <question_order><![CDATA[5]]></question_order> <language><![CDATA[en]]></language> <scale_id><![CDATA[0]]></scale_id> <same_default><![CDATA[0]]></same_default> </row> <row> <qid><![CDATA[51]]></qid> <parent_qid><![CDATA[45]]></parent_qid> <sid><![CDATA[45296]]></sid> <gid><![CDATA[4]]></gid> <type><![CDATA[T]]></type> <title><![CDATA[6]]></title> <question><![CDATA[Toyota]]></question> <preg><![CDATA[]]></preg> <help><![CDATA[]]></help> <other><![CDATA[N]]></other> <mandatory><![CDATA[]]></mandatory> <question_order><![CDATA[6]]></question_order> <language><![CDATA[en]]></language> <scale_id><![CDATA[0]]></scale_id> <same_default><![CDATA[0]]></same_default> </row> <row> <qid><![CDATA[52]]></qid> <parent_qid><![CDATA[45]]></parent_qid> <sid><![CDATA[45296]]></sid> <gid><![CDATA[4]]></gid> <type><![CDATA[T]]></type> <title><![CDATA[7]]></title> <question><![CDATA[Fiat]]></question> <preg><![CDATA[]]></preg> <help><![CDATA[]]></help> <other><![CDATA[N]]></other> <mandatory><![CDATA[]]></mandatory> <question_order><![CDATA[7]]></question_order> <language><![CDATA[en]]></language> <scale_id><![CDATA[0]]></scale_id> <same_default><![CDATA[0]]></same_default> </row> <row> <qid><![CDATA[53]]></qid> <parent_qid><![CDATA[45]]></parent_qid> <sid><![CDATA[45296]]></sid> <gid><![CDATA[4]]></gid> <type><![CDATA[T]]></type> <title><![CDATA[8]]></title> <question><![CDATA[Renault]]></question> <preg><![CDATA[]]></preg> <help><![CDATA[]]></help> <other><![CDATA[N]]></other> <mandatory><![CDATA[]]></mandatory> <question_order><![CDATA[8]]></question_order> <language><![CDATA[en]]></language> <scale_id><![CDATA[0]]></scale_id> <same_default><![CDATA[0]]></same_default> </row> <row> <qid><![CDATA[54]]></qid> <parent_qid><![CDATA[45]]></parent_qid> <sid><![CDATA[45296]]></sid> <gid><![CDATA[4]]></gid> <type><![CDATA[T]]></type> <title><![CDATA[9]]></title> <question><![CDATA[Chrysler]]></question> <preg><![CDATA[]]></preg> <help><![CDATA[]]></help> <other><![CDATA[N]]></other> <mandatory><![CDATA[]]></mandatory> <question_order><![CDATA[9]]></question_order> <language><![CDATA[en]]></language> <scale_id><![CDATA[0]]></scale_id> <same_default><![CDATA[0]]></same_default> </row> <row> <qid><![CDATA[55]]></qid> <parent_qid><![CDATA[45]]></parent_qid> <sid><![CDATA[45296]]></sid> <gid><![CDATA[4]]></gid> <type><![CDATA[T]]></type> <title><![CDATA[10]]></title> <question><![CDATA[Opel]]></question> <preg><![CDATA[]]></preg> <help><![CDATA[]]></help> <other><![CDATA[N]]></other> <mandatory><![CDATA[]]></mandatory> <question_order><![CDATA[10]]></question_order> <language><![CDATA[en]]></language> <scale_id><![CDATA[0]]></scale_id> <same_default><![CDATA[0]]></same_default> </row> <row> <qid><![CDATA[56]]></qid> <parent_qid><![CDATA[45]]></parent_qid> <sid><![CDATA[45296]]></sid> <gid><![CDATA[4]]></gid> <type><![CDATA[T]]></type> <title><![CDATA[11]]></title> <question><![CDATA[Saab]]></question> <preg><![CDATA[]]></preg> <help><![CDATA[]]></help> <other><![CDATA[N]]></other> <mandatory><![CDATA[]]></mandatory> <question_order><![CDATA[11]]></question_order> <language><![CDATA[en]]></language> <scale_id><![CDATA[0]]></scale_id> <same_default><![CDATA[0]]></same_default> </row> <row> <qid><![CDATA[57]]></qid> <parent_qid><![CDATA[45]]></parent_qid> <sid><![CDATA[45296]]></sid> <gid><![CDATA[4]]></gid> <type><![CDATA[T]]></type> <title><![CDATA[12]]></title> <question><![CDATA[Citroen]]></question> <preg><![CDATA[]]></preg> <help><![CDATA[]]></help> <other><![CDATA[N]]></other> <mandatory><![CDATA[]]></mandatory> <question_order><![CDATA[12]]></question_order> <language><![CDATA[en]]></language> <scale_id><![CDATA[0]]></scale_id> <same_default><![CDATA[0]]></same_default> </row> <row> <qid><![CDATA[59]]></qid> <parent_qid><![CDATA[58]]></parent_qid> <sid><![CDATA[45296]]></sid> <gid><![CDATA[5]]></gid> <type><![CDATA[T]]></type> <title><![CDATA[1]]></title> <question><![CDATA[{INSERTANS:45296X4X451}]]></question> <preg><![CDATA[]]></preg> <help><![CDATA[]]></help> <other><![CDATA[N]]></other> <mandatory><![CDATA[]]></mandatory> <question_order><![CDATA[1]]></question_order> <language><![CDATA[en]]></language> <scale_id><![CDATA[0]]></scale_id> <same_default><![CDATA[0]]></same_default> </row> <row> <qid><![CDATA[60]]></qid> <parent_qid><![CDATA[58]]></parent_qid> <sid><![CDATA[45296]]></sid> <gid><![CDATA[5]]></gid> <type><![CDATA[T]]></type> <title><![CDATA[2]]></title> <question><![CDATA[{INSERTANS:45296X4X452}]]></question> <preg><![CDATA[]]></preg> <help><![CDATA[]]></help> <other><![CDATA[N]]></other> <mandatory><![CDATA[]]></mandatory> <question_order><![CDATA[2]]></question_order> <language><![CDATA[en]]></language> <scale_id><![CDATA[0]]></scale_id> <same_default><![CDATA[0]]></same_default> </row> <row> <qid><![CDATA[61]]></qid> <parent_qid><![CDATA[58]]></parent_qid> <sid><![CDATA[45296]]></sid> <gid><![CDATA[5]]></gid> <type><![CDATA[T]]></type> <title><![CDATA[3]]></title> <question><![CDATA[{INSERTANS:45296X4X453}]]></question> <preg><![CDATA[]]></preg> <help><![CDATA[]]></help> <other><![CDATA[N]]></other> <mandatory><![CDATA[]]></mandatory> <question_order><![CDATA[3]]></question_order> <language><![CDATA[en]]></language> <scale_id><![CDATA[0]]></scale_id> <same_default><![CDATA[0]]></same_default> </row> <row> <qid><![CDATA[62]]></qid> <parent_qid><![CDATA[58]]></parent_qid> <sid><![CDATA[45296]]></sid> <gid><![CDATA[5]]></gid> <type><![CDATA[T]]></type> <title><![CDATA[4]]></title> <question><![CDATA[{INSERTANS:45296X4X454}]]></question> <preg><![CDATA[]]></preg> <help><![CDATA[]]></help> <other><![CDATA[N]]></other> <mandatory><![CDATA[]]></mandatory> <question_order><![CDATA[4]]></question_order> <language><![CDATA[en]]></language> <scale_id><![CDATA[0]]></scale_id> <same_default><![CDATA[0]]></same_default> </row> <row> <qid><![CDATA[63]]></qid> <parent_qid><![CDATA[58]]></parent_qid> <sid><![CDATA[45296]]></sid> <gid><![CDATA[5]]></gid> <type><![CDATA[T]]></type> <title><![CDATA[5]]></title> <question><![CDATA[{INSERTANS:45296X4X455}]]></question> <preg><![CDATA[]]></preg> <help><![CDATA[]]></help> <other><![CDATA[N]]></other> <mandatory><![CDATA[]]></mandatory> <question_order><![CDATA[5]]></question_order> <language><![CDATA[en]]></language> <scale_id><![CDATA[0]]></scale_id> <same_default><![CDATA[0]]></same_default> </row> <row> <qid><![CDATA[64]]></qid> <parent_qid><![CDATA[58]]></parent_qid> <sid><![CDATA[45296]]></sid> <gid><![CDATA[5]]></gid> <type><![CDATA[T]]></type> <title><![CDATA[6]]></title> <question><![CDATA[{INSERTANS:45296X4X456}]]></question> <preg><![CDATA[]]></preg> <help><![CDATA[]]></help> <other><![CDATA[N]]></other> <mandatory><![CDATA[]]></mandatory> <question_order><![CDATA[6]]></question_order> <language><![CDATA[en]]></language> <scale_id><![CDATA[0]]></scale_id> <same_default><![CDATA[0]]></same_default> </row> <row> <qid><![CDATA[65]]></qid> <parent_qid><![CDATA[58]]></parent_qid> <sid><![CDATA[45296]]></sid> <gid><![CDATA[5]]></gid> <type><![CDATA[T]]></type> <title><![CDATA[7]]></title> <question><![CDATA[{INSERTANS:45296X4X457}]]></question> <preg><![CDATA[]]></preg> <help><![CDATA[]]></help> <other><![CDATA[N]]></other> <mandatory><![CDATA[]]></mandatory> <question_order><![CDATA[7]]></question_order> <language><![CDATA[en]]></language> <scale_id><![CDATA[0]]></scale_id> <same_default><![CDATA[0]]></same_default> </row> <row> <qid><![CDATA[66]]></qid> <parent_qid><![CDATA[58]]></parent_qid> <sid><![CDATA[45296]]></sid> <gid><![CDATA[5]]></gid> <type><![CDATA[T]]></type> <title><![CDATA[8]]></title> <question><![CDATA[{INSERTANS:45296X4X458}]]></question> <preg><![CDATA[]]></preg> <help><![CDATA[]]></help> <other><![CDATA[N]]></other> <mandatory><![CDATA[]]></mandatory> <question_order><![CDATA[8]]></question_order> <language><![CDATA[en]]></language> <scale_id><![CDATA[0]]></scale_id> <same_default><![CDATA[0]]></same_default> </row> <row> <qid><![CDATA[67]]></qid> <parent_qid><![CDATA[58]]></parent_qid> <sid><![CDATA[45296]]></sid> <gid><![CDATA[5]]></gid> <type><![CDATA[T]]></type> <title><![CDATA[9]]></title> <question><![CDATA[{INSERTANS:45296X4X459}]]></question> <preg><![CDATA[]]></preg> <help><![CDATA[]]></help> <other><![CDATA[N]]></other> <mandatory><![CDATA[]]></mandatory> <question_order><![CDATA[9]]></question_order> <language><![CDATA[en]]></language> <scale_id><![CDATA[0]]></scale_id> <same_default><![CDATA[0]]></same_default> </row> <row> <qid><![CDATA[68]]></qid> <parent_qid><![CDATA[58]]></parent_qid> <sid><![CDATA[45296]]></sid> <gid><![CDATA[5]]></gid> <type><![CDATA[T]]></type> <title><![CDATA[10]]></title> <question><![CDATA[{INSERTANS:45296X4X4510}]]></question> <preg><![CDATA[]]></preg> <help><![CDATA[]]></help> <other><![CDATA[N]]></other> <mandatory><![CDATA[]]></mandatory> <question_order><![CDATA[10]]></question_order> <language><![CDATA[en]]></language> <scale_id><![CDATA[0]]></scale_id> <same_default><![CDATA[0]]></same_default> </row> <row> <qid><![CDATA[69]]></qid> <parent_qid><![CDATA[58]]></parent_qid> <sid><![CDATA[45296]]></sid> <gid><![CDATA[5]]></gid> <type><![CDATA[T]]></type> <title><![CDATA[11]]></title> <question><![CDATA[{INSERTANS:45296X4X4511}]]></question> <preg><![CDATA[]]></preg> <help><![CDATA[]]></help> <other><![CDATA[N]]></other> <mandatory><![CDATA[]]></mandatory> <question_order><![CDATA[11]]></question_order> <language><![CDATA[en]]></language> <scale_id><![CDATA[0]]></scale_id> <same_default><![CDATA[0]]></same_default> </row> <row> <qid><![CDATA[70]]></qid> <parent_qid><![CDATA[58]]></parent_qid> <sid><![CDATA[45296]]></sid> <gid><![CDATA[5]]></gid> <type><![CDATA[T]]></type> <title><![CDATA[12]]></title> <question><![CDATA[{INSERTANS:45296X4X4512}]]></question> <preg><![CDATA[]]></preg> <help><![CDATA[]]></help> <other><![CDATA[N]]></other> <mandatory><![CDATA[]]></mandatory> <question_order><![CDATA[12]]></question_order> <language><![CDATA[en]]></language> <scale_id><![CDATA[0]]></scale_id> <same_default><![CDATA[0]]></same_default> </row> <row> <qid><![CDATA[71]]></qid> <parent_qid><![CDATA[45]]></parent_qid> <sid><![CDATA[45296]]></sid> <gid><![CDATA[4]]></gid> <type><![CDATA[T]]></type> <title><![CDATA[13]]></title> <question><![CDATA[Seat]]></question> <preg><![CDATA[]]></preg> <help><![CDATA[]]></help> <other><![CDATA[N]]></other> <mandatory><![CDATA[]]></mandatory> <question_order><![CDATA[13]]></question_order> <language><![CDATA[en]]></language> <scale_id><![CDATA[0]]></scale_id> <same_default><![CDATA[0]]></same_default> </row> <row> <qid><![CDATA[72]]></qid> <parent_qid><![CDATA[58]]></parent_qid> <sid><![CDATA[45296]]></sid> <gid><![CDATA[5]]></gid> <type><![CDATA[T]]></type> <title><![CDATA[13]]></title> <question><![CDATA[{INSERTANS:45296X4X4513}]]></question> <preg><![CDATA[]]></preg> <help><![CDATA[]]></help> <other><![CDATA[N]]></other> <mandatory><![CDATA[]]></mandatory> <question_order><![CDATA[13]]></question_order> <language><![CDATA[en]]></language> <scale_id><![CDATA[0]]></scale_id> <same_default><![CDATA[0]]></same_default> </row> </rows> </subquestions> <question_attributes> <fields> <fieldname>qid</fieldname> <fieldname>attribute</fieldname> <fieldname>value</fieldname> </fields> <rows> <row> <qid><![CDATA[45]]></qid> <attribute><![CDATA[array_filter]]></attribute> <value><![CDATA[]]></value> </row> <row> <qid><![CDATA[45]]></qid> <attribute><![CDATA[array_filter_exclude]]></attribute> <value><![CDATA[]]></value> </row> <row> <qid><![CDATA[45]]></qid> <attribute><![CDATA[assessment_value]]></attribute> <value><![CDATA[1]]></value> </row> <row> <qid><![CDATA[45]]></qid> <attribute><![CDATA[display_columns]]></attribute> <value><![CDATA[1]]></value> </row> <row> <qid><![CDATA[45]]></qid> <attribute><![CDATA[exclude_all_others]]></attribute> <value><![CDATA[]]></value> </row> <row> <qid><![CDATA[45]]></qid> <attribute><![CDATA[hidden]]></attribute> <value><![CDATA[0]]></value> </row> <row> <qid><![CDATA[45]]></qid> <attribute><![CDATA[hide_tip]]></attribute> <value><![CDATA[0]]></value> </row> <row> <qid><![CDATA[45]]></qid> <attribute><![CDATA[max_answers]]></attribute> <value><![CDATA[]]></value> </row> <row> <qid><![CDATA[45]]></qid> <attribute><![CDATA[min_answers]]></attribute> <value><![CDATA[]]></value> </row> <row> <qid><![CDATA[45]]></qid> <attribute><![CDATA[other_numbers_only]]></attribute> <value><![CDATA[0]]></value> </row> <row> <qid><![CDATA[45]]></qid> <attribute><![CDATA[other_replace_text]]></attribute> <value><![CDATA[]]></value> </row> <row> <qid><![CDATA[45]]></qid> <attribute><![CDATA[page_break]]></attribute> <value><![CDATA[0]]></value> </row> <row> <qid><![CDATA[45]]></qid> <attribute><![CDATA[public_statistics]]></attribute> <value><![CDATA[0]]></value> </row> <row> <qid><![CDATA[45]]></qid> <attribute><![CDATA[random_order]]></attribute> <value><![CDATA[0]]></value> </row> <row> <qid><![CDATA[45]]></qid> <attribute><![CDATA[scale_export]]></attribute> <value><![CDATA[0]]></value> </row> <row> <qid><![CDATA[58]]></qid> <attribute><![CDATA[array_filter]]></attribute> <value><![CDATA[V10]]></value> </row> <row> <qid><![CDATA[58]]></qid> <attribute><![CDATA[array_filter_exclude]]></attribute> <value><![CDATA[]]></value> </row> <row> <qid><![CDATA[58]]></qid> <attribute><![CDATA[assessment_value]]></attribute> <value><![CDATA[1]]></value> </row> <row> <qid><![CDATA[58]]></qid> <attribute><![CDATA[display_columns]]></attribute> <value><![CDATA[1]]></value> </row> <row> <qid><![CDATA[58]]></qid> <attribute><![CDATA[exclude_all_others]]></attribute> <value><![CDATA[]]></value> </row> <row> <qid><![CDATA[58]]></qid> <attribute><![CDATA[hidden]]></attribute> <value><![CDATA[0]]></value> </row> <row> <qid><![CDATA[58]]></qid> <attribute><![CDATA[hide_tip]]></attribute> <value><![CDATA[0]]></value> </row> <row> <qid><![CDATA[58]]></qid> <attribute><![CDATA[max_answers]]></attribute> <value><![CDATA[]]></value> </row> <row> <qid><![CDATA[58]]></qid> <attribute><![CDATA[min_answers]]></attribute> <value><![CDATA[]]></value> </row> <row> <qid><![CDATA[58]]></qid> <attribute><![CDATA[other_numbers_only]]></attribute> <value><![CDATA[0]]></value> </row> <row> <qid><![CDATA[58]]></qid> <attribute><![CDATA[other_replace_text]]></attribute> <value><![CDATA[]]></value> </row> <row> <qid><![CDATA[58]]></qid> <attribute><![CDATA[page_break]]></attribute> <value><![CDATA[0]]></value> </row> <row> <qid><![CDATA[58]]></qid> <attribute><![CDATA[public_statistics]]></attribute> <value><![CDATA[0]]></value> </row> <row> <qid><![CDATA[58]]></qid> <attribute><![CDATA[random_order]]></attribute> <value><![CDATA[0]]></value> </row> <row> <qid><![CDATA[58]]></qid> <attribute><![CDATA[scale_export]]></attribute> <value><![CDATA[0]]></value> </row> </rows> </question_attributes> <surveys> <fields> <fieldname>sid</fieldname> <fieldname>admin</fieldname> <fieldname>expires</fieldname> <fieldname>startdate</fieldname> <fieldname>adminemail</fieldname> <fieldname>private</fieldname> <fieldname>faxto</fieldname> <fieldname>format</fieldname> <fieldname>template</fieldname> <fieldname>language</fieldname> <fieldname>additional_languages</fieldname> <fieldname>datestamp</fieldname> <fieldname>usecookie</fieldname> <fieldname>notification</fieldname> <fieldname>allowregister</fieldname> <fieldname>allowsave</fieldname> <fieldname>autonumber_start</fieldname> <fieldname>autoredirect</fieldname> <fieldname>allowprev</fieldname> <fieldname>printanswers</fieldname> <fieldname>ipaddr</fieldname> <fieldname>refurl</fieldname> <fieldname>publicstatistics</fieldname> <fieldname>publicgraphs</fieldname> <fieldname>listpublic</fieldname> <fieldname>htmlemail</fieldname> <fieldname>tokenanswerspersistence</fieldname> <fieldname>assessments</fieldname> <fieldname>usecaptcha</fieldname> <fieldname>usetokens</fieldname> <fieldname>bounce_email</fieldname> <fieldname>attributedescriptions</fieldname> <fieldname>emailresponseto</fieldname> <fieldname>tokenlength</fieldname> </fields> <rows> <row> <sid><![CDATA[45296]]></sid> <admin><![CDATA[joost assendelft]]></admin> <expires><![CDATA[]]></expires> <startdate><![CDATA[]]></startdate> <adminemail><![CDATA[joost@assendelft.net]]></adminemail> <private><![CDATA[Y]]></private> <faxto><![CDATA[]]></faxto> <format><![CDATA[G]]></format> <template><![CDATA[default]]></template> <language><![CDATA[en]]></language> <additional_languages><![CDATA[]]></additional_languages> <datestamp><![CDATA[N]]></datestamp> <usecookie><![CDATA[N]]></usecookie> <notification><![CDATA[0]]></notification> <allowregister><![CDATA[N]]></allowregister> <allowsave><![CDATA[Y]]></allowsave> <autonumber_start><![CDATA[2]]></autonumber_start> <autoredirect><![CDATA[N]]></autoredirect> <allowprev><![CDATA[Y]]></allowprev> <printanswers><![CDATA[N]]></printanswers> <ipaddr><![CDATA[N]]></ipaddr> <refurl><![CDATA[N]]></refurl> <publicstatistics><![CDATA[N]]></publicstatistics> <publicgraphs><![CDATA[N]]></publicgraphs> <listpublic><![CDATA[N]]></listpublic> <htmlemail><![CDATA[Y]]></htmlemail> <tokenanswerspersistence><![CDATA[N]]></tokenanswerspersistence> <assessments><![CDATA[N]]></assessments> <usecaptcha><![CDATA[D]]></usecaptcha> <usetokens><![CDATA[N]]></usetokens> <bounce_email><![CDATA[joost@assendelft.net]]></bounce_email> <attributedescriptions><![CDATA[]]></attributedescriptions> <emailresponseto><![CDATA[]]></emailresponseto> <tokenlength><![CDATA[15]]></tokenlength> </row> </rows> </surveys> <surveys_languagesettings> <fields> <fieldname>surveyls_survey_id</fieldname> <fieldname>surveyls_language</fieldname> <fieldname>surveyls_title</fieldname> <fieldname>surveyls_description</fieldname> <fieldname>surveyls_welcometext</fieldname> <fieldname>surveyls_endtext</fieldname> <fieldname>surveyls_url</fieldname> <fieldname>surveyls_urldescription</fieldname> <fieldname>surveyls_email_invite_subj</fieldname> <fieldname>surveyls_email_invite</fieldname> <fieldname>surveyls_email_remind_subj</fieldname> <fieldname>surveyls_email_remind</fieldname> <fieldname>surveyls_email_register_subj</fieldname> <fieldname>surveyls_email_register</fieldname> <fieldname>surveyls_email_confirm_subj</fieldname> <fieldname>surveyls_email_confirm</fieldname> <fieldname>surveyls_dateformat</fieldname> </fields> <rows> <row> <surveyls_survey_id><![CDATA[45296]]></surveyls_survey_id> <surveyls_language><![CDATA[en]]></surveyls_language> <surveyls_title><![CDATA[Arrayfiltering v190+]]></surveyls_title> <surveyls_description><![CDATA[]]></surveyls_description> <surveyls_welcometext><![CDATA[]]></surveyls_welcometext> <surveyls_endtext><![CDATA[]]></surveyls_endtext> <surveyls_url><![CDATA[]]></surveyls_url> <surveyls_urldescription><![CDATA[]]></surveyls_urldescription> <surveyls_email_invite_subj><![CDATA[Invitation to participate in survey]]></surveyls_email_invite_subj> <surveyls_email_invite><![CDATA[Dear {FIRSTNAME},<br /><br />You have been invited to participate in a survey.<br /><br />The survey is titled:<br />"{SURVEYNAME}"<br /><br />"{SURVEYDESCRIPTION}"<br /><br />To participate, please click on the link below.<br /><br />Sincerely,<br /><br />{ADMINNAME} ({ADMINEMAIL})<br /><br />----------------------------------------------<br />Click here to do the survey:<br />{SURVEYURL}<br /><br />If you do not want to participate in this survey and don't want to receive any more invitations please click the following link:<br />{OPTOUTURL}]]></surveyls_email_invite> <surveyls_email_remind_subj><![CDATA[Reminder to participate in survey]]></surveyls_email_remind_subj> <surveyls_email_remind><![CDATA[Dear {FIRSTNAME},<br /><br />Recently we invited you to participate in a survey.<br /><br />We note that you have not yet completed the survey, and wish to remind you that the survey is still available should you wish to take part.<br /><br />The survey is titled:<br />"{SURVEYNAME}"<br /><br />"{SURVEYDESCRIPTION}"<br /><br />To participate, please click on the link below.<br /><br />Sincerely,<br /><br />{ADMINNAME} ({ADMINEMAIL})<br /><br />----------------------------------------------<br />Click here to do the survey:<br />{SURVEYURL}<br /><br />If you do not want to participate in this survey and don't want to receive any more invitations please click the following link:<br />{OPTOUTURL}]]></surveyls_email_remind> <surveyls_email_register_subj><![CDATA[Survey registration confirmation]]></surveyls_email_register_subj> <surveyls_email_register><![CDATA[Dear {FIRSTNAME},<br /><br />You, or someone using your email address, have registered to participate in an online survey titled {SURVEYNAME}.<br /><br />To complete this survey, click on the following URL:<br /><br />{SURVEYURL}<br /><br />If you have any questions about this survey, or if you did not register to participate and believe this email is in error, please contact {ADMINNAME} at {ADMINEMAIL}.]]></surveyls_email_register> <surveyls_email_confirm_subj><![CDATA[Confirmation of completed survey]]></surveyls_email_confirm_subj> <surveyls_email_confirm><![CDATA[Dear {FIRSTNAME},<br /><br />This email is to confirm that you have completed the survey titled {SURVEYNAME} and your response has been saved. Thank you for participating.<br /><br />If you have any further questions about this email, please contact {ADMINNAME} at {ADMINEMAIL}.<br /><br />Sincerely,<br /><br />{ADMINNAME}]]></surveyls_email_confirm> <surveyls_dateformat><![CDATA[1]]></surveyls_dateformat> </row> </rows> </surveys_languagesettings> </document> | ||||
Bug heat | 10 | ||||
Complete LimeSurvey version number (& build) | 1.91 | ||||
I will donate to the project if issue is resolved | No | ||||
Browser | ie8 | ||||
Database type & version | mysql 5.1 | ||||
Server OS (if known) | linux | ||||
Webserver software & version (if known) | apache | ||||
PHP Version | 5.2.14 | ||||
Please attach a sample survey which can be used to reproduce this issue. Thanks! |
|
Hi, Please toglle between the A and B group questions. If MORE than 10 items are selected, AND the first item to, (the volvo) then an inrottect presentation will occur in the B question. Thanks for having a look at it! |
|
Wow, my head nearly exploded looking at this. Then I noticed that in the "child" question you didn't use labels, but instead were using INSERTANS: references. Which is weird, since you were only ever referring to the original labels. Why not just use labels? Anyway, since this bug is probably more related to the INSERTANS functionality than the array_filter feature (the correct number of labales are appearing, it's what the labels are that is wrong) I'd like to know a bit more about why you've chosen to do it this way (ie: using INSERTANS instead of just the actual labels). Jason |
|
Hi Jason, Sorry for the confusion I created. it's a insertans-issue. I hope the fix we suggest is clear, otherwise let me know. (Congratulations with this great project, Jason. I'm phpsurveyor-user from the 'early days'. It's nice to see it grow!). Joost |
|
Thanks Joost.. nice to know there are people who have been using the tool for so long :-), and I kind of like the idea of being able to muck around with the labels using INSERTANS.. not sure I can think of an exact reason to use it, but the world is big and you just never know, so I'm definitely going to look into the issue. I didn't do much of the recent INSERTANS coding, so I'm kind of fascinated how it manages to combine them together with an "and" (as in "Volvo and Suzuki").. clever coding, despite it's bizarre behaviour in this case. |
|
ok, have fun! |
|
Jason, lots of dust here ;) |
|
? |
|
array filtering (and cascading of array filtering) works properly in 1.92 |
|
1.92RC3 released |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2011-03-18 17:07 | jas | New Issue | |
2011-03-21 00:43 | Mazi | Note Added: 14485 | |
2011-03-21 00:43 | Mazi | Assigned To | => jcleeland |
2011-03-21 00:43 | Mazi | Status | new => feedback |
2011-03-21 12:46 | jas | File Added: limesurvey_survey_45296.lss | |
2011-03-21 12:47 | jas | Note Added: 14497 | |
2011-03-21 12:47 | jas | Status | feedback => assigned |
2011-03-24 14:09 | jcleeland | Note Added: 14531 | |
2011-03-24 14:21 | Mazi | Status | assigned => feedback |
2011-03-24 17:11 | jas | Note Added: 14532 | |
2011-03-24 17:11 | jas | Status | feedback => assigned |
2011-03-26 03:27 | jcleeland | Note Added: 14545 | |
2011-03-27 15:51 | jas | Note Added: 14555 | |
2011-06-16 14:42 | c_schmitz | Note Added: 15467 | |
2011-09-11 09:35 | c_schmitz | Note Added: 16254 | |
2012-01-20 16:25 | TMSWhite | Note Added: 16865 | |
2012-01-20 16:25 | TMSWhite | Status | assigned => resolved |
2012-01-20 16:25 | TMSWhite | Resolution | open => fixed |
2012-01-24 21:37 | c_schmitz | Fixed in Version | => 1.92RC3 |
2012-01-24 21:37 | c_schmitz | Description Updated | |
2012-01-24 21:37 | c_schmitz | Steps to Reproduce Updated | |
2012-01-30 18:41 | c_schmitz | Note Added: 17074 | |
2012-01-30 18:41 | c_schmitz | Status | resolved => closed |