View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
06165 | Bug reports | Survey editing | public | 2012-06-03 07:31 | 2012-06-07 11:02 |
Reporter | TMSWhite | Assigned To | TMSWhite | ||
Priority | low | Severity | minor | ||
Status | closed | Resolution | fixed | ||
Product Version | 1.92+ | ||||
Fixed in Version | 1.92+ | ||||
Summary | 06165: unable to implement affirmative exclusive non-answer in array_filter_exclude | ||||
Description | Some surveys have mandatory multiple choice answers with a NONE option as the exclusive non-answer. This ensures that there is an actual answer given (rather than having the user simply avoid checking any boxes). Say you have a survey that asks which months are the best and worst for a symptom, and you want to use array_filter_exclude for the worst months (so that you can't say that your best and worst months were the same). Both lists need the "NONE" exclusive option. However, those NONE values should not be array_filter_excluded (e.g. just because you have no best months doesn't mean you have no worst months). So, need array_filter_exclude to gracefully handle situations where the author has mismatched lists of sub-questions. | ||||
Tags | No tags attached. | ||||
Bug heat | 4 | ||||
Complete LimeSurvey version number (& build) | 120530 | ||||
I will donate to the project if issue is resolved | No | ||||
Browser | |||||
Database type & version | Mysql 5.3 | ||||
Server OS (if known) | Windows XP | ||||
Webserver software & version (if known) | XAMPP | ||||
PHP Version | 5.3 | ||||
Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=8633 |
|
Fix committed to Yii branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=8635 |
|
This also fixes an interaction problem between exclusive option in question A and array_filter or array_filter_exclude on question B |
|
New 1.91+ build released. |
|
LimeSurvey: master 8b549dca 2012-06-03 00:48 Details Diff |
Fixed issue 06165: unable to implement affirmative exclusive non-answer in array_filter_exclude Fixed issue 06079: sub-question filtering broken if "other" or "no answer" option is given Dev Array_filter and array_filter_exclude now handle mismatched lists of sub-questions gracefully. Values in list B that are not in list A will not be filtered, and will not throw errors. Dev This lets authors support exclusive options like "none of the above" in array filtered questions |
Affected Issues 06079, 06165 |
|
mod - classes/expressions/LimeExpressionManager.php | Diff File | ||
LimeSurvey: Yii a2b96ed8 2012-06-03 00:51 Details Diff |
Fixed issue 06165: unable to implement affirmative exclusive non-answer in array_filter_exclude Fixed issue 06079: sub-question filtering broken if "other" or "no answer" option is given Dev Array_filter and array_filter_exclude now handle mismatched lists of sub-questions gracefully. Values in list B that are not in list A will not be filtered, and will not throw errors. Dev This lets authors support exclusive options like "none of the above" in array filtered questions |
Affected Issues 06079, 06165 |
|
mod - application/helpers/expressions/em_manager_helper.php | Diff File |
Date Modified | Username | Field | Change |
---|---|---|---|
2012-06-03 07:31 | TMSWhite | New Issue | |
2012-06-03 07:50 | TMSWhite | Changeset attached | => LimeSurvey master 8b549dca |
2012-06-03 07:50 | TMSWhite | Note Added: 19041 | |
2012-06-03 07:50 | TMSWhite | Assigned To | => TMSWhite |
2012-06-03 07:50 | TMSWhite | Resolution | open => fixed |
2012-06-03 07:51 | TMSWhite | Changeset attached | => LimeSurvey Yii a2b96ed8 |
2012-06-03 07:51 | TMSWhite | Note Added: 19043 | |
2012-06-03 07:51 | TMSWhite | Relationship added | related to 06079 |
2012-06-03 07:52 | TMSWhite | Status | new => resolved |
2012-06-03 07:52 | TMSWhite | Fixed in Version | => 1.92+ |
2012-06-03 07:58 | TMSWhite | Note Added: 19045 | |
2012-06-07 11:02 | c_schmitz | Note Added: 19100 | |
2012-06-07 11:02 | c_schmitz | Status | resolved => closed |
2019-11-01 17:25 | c_schmitz | Category | Survey design => Survey editing |