View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
05766 | Bug reports | Survey taking | public | 2012-02-06 22:23 | 2012-06-18 05:36 |
Reporter | TMSWhite | Assigned To | TMSWhite | ||
Priority | normal | Severity | minor | ||
Status | closed | Resolution | fixed | ||
Product Version | 1.92RC3 | ||||
Target Version | 1.92+ | Fixed in Version | 1.92+ | ||
Summary | 05766: exclude_all_others_auto does not work | ||||
Description | Although the other array_filter attributes work in 1.92, the exclude_all_others_auto does not. There is also an interaction with json_encode, so if people try to use this feature, they will get a script error (since EM will try to parse the json_encoded content), but it doesn't prevent the page from working properly. Lastly, this did not work perfectly in 1.91. If you tried to put two questions on the same page, only the last question would have the auto feature work properly (since it just creates the variable autoArray without a qid suffix). | ||||
Additional Information | Uncommenting the if ((typeof(autoArray) != "undefined")) section of survey_runtime.js does not fix the problem. Will need to add this to EM such that it truly unchecks individual values first before checking the exclusive option. Otherwise, if try to uncheck the exclusive option, the _auto feature will immediately re-check it, which (by setting the other questions to irrelevant) makes it impossible to uncheck any of the other fields. Thus, without proper coding, once _auto is triggered, there would be no way to reverse it. | ||||
Tags | No tags attached. | ||||
Bug heat | 4 | ||||
Complete LimeSurvey version number (& build) | 12376 | ||||
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 | ||||
At the moment the other question options are marked as not being relevant (and so disappearing). I had two users asking me about this. Can you give this another shot so it is working properly? |
|
Denis, since you have a good strategy for the exclusive option, can you take a stab at this one too? Your jQuery and CSS knowledge is much better than mine. |
|
Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=8486 |
|
Fix committed to Yii branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=8488 |
|
New 1.92+ version released. |
|
Current approach does not work in some circumstances (especially if exclude_all_others_auto is used on a question that is not being array_filter-ed by an earlier question) |
|
Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=8546 |
|
Fix committed to Yii branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=8547 |
|
New version 1.92+ released. |
|
Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=8755 |
|
Fix committed to Yii branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=8757 |
|
LimeSurvey: master 4627d347 2012-05-15 16:49 Details Diff |
Fixed issue#05766: exclude_all_others_auto does not work Dev Now works properly even if question is array_filtered (e.g. sets exclusive option if all other visible/relevant options are set) |
Affected Issues 05766 |
|
mod - classes/expressions/LimeExpressionManager.php | Diff File | ||
mod - qanda.php | Diff File | ||
LimeSurvey: Yii 114cef20 2012-05-15 16:58 Details Diff |
Fixed issue#05766: exclude_all_others_auto does not work Dev Now works properly even if question is array_filtered (e.g. sets exclusive option if all other visible/relevant options are set) |
Affected Issues 05766 |
|
mod - application/helpers/expressions/em_manager_helper.php | Diff File | ||
mod - application/helpers/qanda_helper.php | Diff File | ||
mod - scripts/survey_runtime.js | Diff File | ||
LimeSurvey: master 024865fe 2012-05-15 23:35 Details Diff |
Fixed issue 05766: exclude_all_others_auto does not work Dev fixed typo in logic detecting that exclude_all_others_auto is active |
Affected Issues 05766 |
|
mod - classes/expressions/LimeExpressionManager.php | Diff File | ||
LimeSurvey: Yii 57928d46 2012-05-15 23:36 Details Diff |
Fixed issue 05766: exclude_all_others_auto does not work Dev fixed typo in logic detecting that exclude_all_others_auto is active |
Affected Issues 05766 |
|
mod - application/helpers/expressions/em_manager_helper.php | Diff File | ||
LimeSurvey: master 65a43342 2012-05-25 12:40 Details Diff |
Fixed issue 05766: exclude_all_others_auto does not work Dev Was failing when the equations tried to reference variables that were not also declared elsewhere on the page. |
Affected Issues 05766 |
|
mod - classes/expressions/ExpressionManager.php | Diff File | ||
mod - classes/expressions/LimeExpressionManager.php | Diff File | ||
LimeSurvey: Yii 21a7c498 2012-05-25 12:50 Details Diff |
Fixed issue 05766: exclude_all_others_auto does not work Dev Was failing when the equations tried to reference variables that were not also declared elsewhere on the page. |
Affected Issues 05766 |
|
mod - application/helpers/expressions/em_core_helper.php | Diff File | ||
mod - application/helpers/expressions/em_manager_helper.php | Diff File | ||
LimeSurvey: master 9b67423b 2012-06-17 22:28 Details Diff |
Fixed issue 05766: exclude_all_others_auto does not work Dev was not working for Multiple Choice with Comments |
Affected Issues 05766 |
|
mod - classes/expressions/LimeExpressionManager.php | Diff File | ||
mod - common_functions.php | Diff File | ||
LimeSurvey: Yii 420595a2 2012-06-17 22:34 Details Diff |
Fixed issue 05766: exclude_all_others_auto does not work Dev was not working for Multiple Choice with Comments |
Affected Issues 05766 |
|
mod - application/helpers/common_helper.php | Diff File | ||
mod - application/helpers/expressions/em_manager_helper.php | Diff File |
Date Modified | Username | Field | Change |
---|---|---|---|
2012-02-06 22:23 | TMSWhite | New Issue | |
2012-02-07 12:16 | c_schmitz | Assigned To | => TMSWhite |
2012-02-07 12:16 | c_schmitz | Status | new => assigned |
2012-03-20 18:27 | c_schmitz | Note Added: 18015 | |
2012-03-20 18:27 | c_schmitz | Target Version | => 1.92+ |
2012-04-13 16:35 | TMSWhite | Assigned To | TMSWhite => DenisChenu |
2012-04-13 16:36 | TMSWhite | Note Added: 18352 | |
2012-05-11 14:29 | DenisChenu | Assigned To | DenisChenu => TMSWhite |
2012-05-16 00:09 | TMSWhite | Status | assigned => resolved |
2012-05-16 00:09 | TMSWhite | Fixed in Version | => 1.92+ |
2012-05-16 00:09 | TMSWhite | Resolution | open => fixed |
2012-05-16 00:12 | TMSWhite | Changeset attached | => LimeSurvey master 4627d347 |
2012-05-16 00:12 | TMSWhite | Changeset attached | => LimeSurvey Yii 114cef20 |
2012-05-16 06:38 | TMSWhite | Changeset attached | => LimeSurvey master 024865fe |
2012-05-16 06:38 | TMSWhite | Note Added: 18779 | |
2012-05-16 06:38 | TMSWhite | Changeset attached | => LimeSurvey Yii 57928d46 |
2012-05-16 06:38 | TMSWhite | Note Added: 18780 | |
2012-05-17 10:27 | c_schmitz | Note Added: 18812 | |
2012-05-17 10:27 | c_schmitz | Status | resolved => closed |
2012-05-25 19:38 | TMSWhite | Note Added: 18901 | |
2012-05-25 19:38 | TMSWhite | Status | closed => feedback |
2012-05-25 19:38 | TMSWhite | Resolution | fixed => reopened |
2012-05-25 19:39 | TMSWhite | Status | feedback => assigned |
2012-05-25 19:41 | TMSWhite | Changeset attached | => LimeSurvey master 65a43342 |
2012-05-25 19:41 | TMSWhite | Note Added: 18902 | |
2012-05-25 19:51 | TMSWhite | Changeset attached | => LimeSurvey Yii 21a7c498 |
2012-05-25 19:51 | TMSWhite | Note Added: 18903 | |
2012-05-25 19:51 | TMSWhite | Status | assigned => resolved |
2012-05-25 19:51 | TMSWhite | Resolution | reopened => fixed |
2012-05-26 09:53 | c_schmitz | Note Added: 18906 | |
2012-05-26 09:53 | c_schmitz | Status | resolved => closed |
2012-06-18 05:30 | TMSWhite | Changeset attached | => LimeSurvey master 9b67423b |
2012-06-18 05:30 | TMSWhite | Note Added: 19295 | |
2012-06-18 05:36 | TMSWhite | Changeset attached | => LimeSurvey Yii 420595a2 |
2012-06-18 05:36 | TMSWhite | Note Added: 19296 |