View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 09344 | Bug reports | Conditions | public | 2014-11-01 12:55 | 2014-11-26 10:29 |
| Reporter | juusotam | Assigned To | DenisChenu | ||
| Priority | normal | Severity | partial_block | ||
| Status | closed | Resolution | fixed | ||
| Product Version | 2.05+ | ||||
| Fixed in Version | 2.05+ | ||||
| Summary | 09344: AND rules with ATTRIBUTE disappear when modifying the survey | ||||
| Description | I want to predefine the groups using ATTRIBUTE_1 as group designator. If I create a condition that a question should be shown only if user is in group1 AND answered a previous question Yes the condition is created OK. If I then edit a question that is not related to that rule the ATTRIBUTE condition gets removed. Also, if I export the survey and re-import it and create the tokens table the condition is removed. | ||||
| Steps To Reproduce | Import the LSS file | ||||
| Tags | No tags attached. | ||||
| Attached Files | |||||
| Bug heat | 6 | ||||
| Complete LimeSurvey version number (& build) | 141020 | ||||
| I will donate to the project if issue is resolved | Yes | ||||
| Browser | Google Chrome | ||||
| Database type & version | MySQL 5.6.20 | ||||
| Server OS (if known) | OS X 10.9 server | ||||
| Webserver software & version (if known) | Apache 2.2.26 | ||||
| PHP Version | 5.4.24 | ||||
|
After I import the original survey and directly check out question 4 (without creating tokens or activating) the shown relevance equation and the conditions are different. I can't see any reason why. |
|
|
condition to relevance is set only when import (if we don't update the condition) Don't see a way to reset it actually. 1st : fix the bug when importing |
|
|
Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=14660 |
|
|
Fix committed to 2.06 branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=14661 |
|
|
Version 2.05 Build 141126 released |
|
|
LimeSurvey: master 14d6a1cd 2014-11-25 09:47 Details Diff |
Fixed issue 09344: AND rules with ATTRIBUTE disappear when modify and importing the survey Dev : importing : bad order for getConditionsForEM : with $qid set : it work Dev : modify : debug to 2 show Notice, surely broke before |
Affected Issues 09344 |
|
| mod - application/controllers/admin/conditionsaction.php | Diff File | ||
| mod - application/helpers/expressions/em_manager_helper.php | Diff File | ||
|
LimeSurvey: 2.06 605b8f5e 2014-11-25 10:06 Details Diff |
Fixed issue 09344: AND rules with ATTRIBUTE disappear when modify and importing the survey Dev : importing : bad order for getConditionsForEM : with $qid set : it work Dev : modify : debug to 2 show Notice, surely broke before Dev : reset the relevance equation when show condition (if needed) Dev : TODO : use Yii on getConditionsForEM, but big request here |
Affected Issues 09344 |
|
| mod - application/controllers/admin/conditionsaction.php | Diff File | ||
| mod - application/helpers/expressions/em_manager_helper.php | Diff File | ||
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2014-11-01 12:55 | juusotam | New Issue | |
| 2014-11-01 12:55 | juusotam | File Added: original-limesurvey_survey_117644.lss | |
| 2014-11-01 12:56 | juusotam | File Added: changed_question_2_limesurvey_survey_117644.lss | |
| 2014-11-01 12:58 | juusotam | File Added: Screenshot_1_logic.png | |
| 2014-11-01 12:58 | juusotam | Issue Monitored: juusotam | |
| 2014-11-01 12:58 | juusotam | File Added: Screenshot_2_logic_modified_Q2.png | |
| 2014-11-01 12:58 | juusotam | File Added: Screenshot_3_condition_edit_after_modifying_Q2.png | |
| 2014-11-13 01:20 | c_schmitz | Assigned To | => c_schmitz |
| 2014-11-13 01:20 | c_schmitz | Status | new => assigned |
| 2014-11-23 19:40 | c_schmitz | Assigned To | c_schmitz => DenisChenu |
| 2014-11-23 19:41 | c_schmitz | Note Added: 31057 | |
| 2014-11-24 13:03 | DenisChenu | Note Added: 31080 | |
| 2014-11-25 09:48 | DenisChenu | Changeset attached | => LimeSurvey master 14d6a1cd |
| 2014-11-25 09:48 | DenisChenu | Note Added: 31091 | |
| 2014-11-25 09:48 | DenisChenu | Resolution | open => fixed |
| 2014-11-25 10:07 | DenisChenu | Changeset attached | => LimeSurvey 2.06 605b8f5e |
| 2014-11-25 10:07 | DenisChenu | Note Added: 31092 | |
| 2014-11-25 10:07 | DenisChenu | Status | assigned => resolved |
| 2014-11-25 10:07 | DenisChenu | Fixed in Version | => 2.05+ |
| 2014-11-26 10:29 | c_schmitz | Note Added: 31094 | |
| 2014-11-26 10:29 | c_schmitz | Status | resolved => closed |
| 2021-08-03 13:19 | guest | Bug heat | 4 => 6 |