View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
03512 | Bug reports | Survey taking | public | 2009-07-24 22:37 | 2010-01-28 01:17 |
Reporter | VBraun | Assigned To | jcleeland | ||
Priority | normal | Severity | minor | ||
Status | closed | Resolution | suspended | ||
Product Version | 1.85+ | ||||
Summary | 03512: Array_filter does not work in ranking question type | ||||
Description | Array_filter has no effect on ranking question. While a multichoice question properly filtrates an array question the same multichoice question has no effect on ranking question in the same survey. | ||||
Additional Information | Tested at two local machines and at my hosted site, and in two different surveys, always with the same result. | ||||
Tags | No tags attached. | ||||
Attached Files | |||||
Bug heat | 22 | ||||
Complete LimeSurvey version number (& build) | 7253 | ||||
I will donate to the project if issue is resolved | |||||
Browser | Chrome, IE | ||||
Database type & version | MySql 5.0.51a | ||||
Server OS (if known) | Vista, XP, some Linux | ||||
Webserver software & version (if known) | Apache/2.2.11 (Win32) DAV/2 mod_ssl/2.2.11 OpenSSL/0.9.8i | ||||
PHP Version | PHP/5.2.9 | ||||
Please attach a simple sample survey (survey structure as .csv-file), where we can reproduce the issue - THX! |
|
File with test is uploaded |
|
I tested the array filter with the same test survey in Firefox browser in a meantime and it worked nicely even in ranking question. It was with the latest build 7394. It still does not work in Chrome and IE. Strange. |
|
VBraun, can you please test once again on the latest version? |
|
Hi, I tested it in the latest build 7489, with the same test survey, in Chrome and IE, and array filter still has no effect on question type Ranking. Were you able to reproduce the issue in your environment with the test survey? Regards, |
|
Jason, is this even supposed to be implemented for Ranking Questions? |
|
According to the documentation it should be implemented since 1.82
Available in Question Types |
|
The array_filter in the ranking question uses css to hide the elements not selected. This method doesn't work in chrome or safari. I'll see what alternatives are available. |
|
Since it also broke the mandatory code I removed the array_filter code from qanda.php for ranking questions for now to make 1.86 stable. |
|
No change for version 1.86 (7697). Is there any release for which a fix is planned already? |
|
Reminder sent to: jcleeland Dear jcleeland, You noted that `the array_filter in the ranking question uses css to hide the elements not selected. This method doesn't work in chrome or safari. I'll see what alternatives are available.'. Can I help you with this? Regards, Werner |
|
Werner, any kind of help is appreciated. See what you can do and add your files and explanations here. Jason/jcleeland will then take a look at it. Currently he is abraod which is the reason why he hasn't answered to you yet. |
|
The array_filter does not seem to work for the `multiple options' question type anymore, either in 1.86. Reproduced in
|
|
Array_filter takes its filter values FROM multiple-option questions, it does not apply the filter TO that question type - see Vlada's list above from the manual of question types to which it applies. |
|
What I should have said is: `Array (Flexible Labels)' The array_filter does not seem to work for the `Array (Flexible Labels)' question type anymore, either in 1.86. Reproduced in
I stand corrected. |
|
Hi, I'm back :-) @werner: Can you open a new bug report for the array_filter not working on array (flexible labels) - I think I can probably take care of that. Thanks. :-) @werner: if you can help with suggestions for the ranking question type, that'd be good :-) It's about the html method - and using css to turn off elements of a select box just doesn't work in all browsers, and so we can't rely on it. Jason |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2009-07-24 22:37 | VBraun | New Issue | |
2009-07-24 22:37 | VBraun | Status | new => assigned |
2009-07-24 22:37 | VBraun | Assigned To | => user372 |
2009-07-24 22:37 | VBraun | Build Number | => 7253 |
2009-07-24 22:37 | VBraun | Browser | => Chrome, IE |
2009-07-24 22:37 | VBraun | Database & DB-Version | => MySql 5.0.51a |
2009-07-24 22:37 | VBraun | Operating System (Server) | => Vista, XP, some Linux |
2009-07-24 22:37 | VBraun | Webserver | => Apache/2.2.11 (Win32) DAV/2 mod_ssl/2.2.11 OpenSSL/0.9.8i |
2009-07-24 22:37 | VBraun | PHP Version | => PHP/5.2.9 |
2009-07-24 22:52 |
|
Note Added: 08936 | |
2009-07-24 22:52 |
|
Status | assigned => feedback |
2009-07-24 23:10 | VBraun | File Added: array_filter_test.csv | |
2009-07-24 23:11 | VBraun | Note Added: 08938 | |
2009-07-24 23:26 |
|
Status | feedback => assigned |
2009-07-24 23:26 |
|
Assigned To | user372 => jcleeland |
2009-07-28 11:37 | VBraun | Issue Monitored: VBraun | |
2009-08-06 21:26 | VBraun | Note Added: 09038 | |
2009-08-19 01:19 | c_schmitz | Note Added: 09167 | |
2009-08-20 09:12 | VBraun | Note Added: 09184 | |
2009-09-12 21:28 | lemeur | Relationship added | has duplicate 03677 |
2009-09-22 01:52 | c_schmitz | Note Added: 09629 | |
2009-09-22 15:00 | VBraun | Note Added: 09639 | |
2009-09-28 05:23 | jcleeland | Note Added: 09663 | |
2009-09-30 16:25 | c_schmitz | Relationship added | related to 03640 |
2009-09-30 16:26 | c_schmitz | Note Added: 09679 | |
2009-10-04 00:28 | c_schmitz | Summary | Array_filter does not work in Rating question => Array_filter does not work in ranking question type |
2009-10-16 12:24 |
|
Issue Monitored: user5227 | |
2009-10-16 15:20 |
|
Note Added: 09810 | |
2009-10-26 15:43 |
|
Note Added: 09862 | |
2009-10-27 14:17 | Mazi | Note Added: 09870 | |
2009-10-28 14:20 |
|
Note Added: 09891 | |
2009-10-30 09:46 |
|
Note Added: 09923 | |
2009-11-02 09:55 |
|
Note Added: 09948 | |
2009-11-09 12:52 | jcleeland | Note Added: 10024 | |
2010-01-28 01:16 | c_schmitz | Status | assigned => closed |
2010-01-28 01:17 | c_schmitz | Resolution | open => suspended |
2010-10-25 00:18 | c_schmitz | Category | Survey at Runtime => Survey taking |
2021-08-03 08:10 | guest | Bug heat | 20 => 22 |