View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
07286 | Bug reports | Expression Manager | public | 2013-02-11 03:55 | 2013-02-19 11:13 |
Reporter | mjwallach | Assigned To | DenisChenu | ||
Priority | normal | Severity | partial_block | ||
Status | closed | Resolution | fixed | ||
Product Version | 2.00+ | ||||
Fixed in Version | 2.00+ | ||||
Summary | 07286: Relevance Equation Problem with Ranking Question | ||||
Description | The survey includes the following questions: Q1: Yes/No question The intended functionality is: Q3 should display only if Q1 is answered. The problem: Q7 does not display unless the first item in Q3 is selected in addition to any other selections. However, there is no reference to Q3 in the logic of Q7 | ||||
Steps To Reproduce | Answer question Q1, and question Q3 displays. Make at least two selections in Q3, but do not select the first item. Complete the ranking in Q6. Q7 does not display even though the first rank in Q6 is not empty. Then select the first item in Q3, and Q7 displays. | ||||
Tags | No tags attached. | ||||
Attached Files | |||||
Bug heat | 6 | ||||
Complete LimeSurvey version number (& build) | 130206 | ||||
I will donate to the project if issue is resolved | No | ||||
Browser | Firefox and Internet Explorer | ||||
Database type & version | mySQL 5.5.24 | ||||
Server OS (if known) | Windows 7 | ||||
Webserver software & version (if known) | Wampserver 2.2 running Apache 2.4.2 | ||||
PHP Version | 5.4.3 | ||||
Exact source of bug are really difficult to find. PLease, test with A1,A2,A3 ... for answer. Seems there are another bug then. |
|
It's an error with the number. Replace 1,2,3 by A1,A2,A3 are OK. I allways think use number at code are a bad idea. |
|
Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=11653 |
|
Need rework for 2.1/Plugin. Maybe updateRelevance function can be set in Question.Plugin, or optionaly set. Here: there are: |
|
2.00 Build 130219 released |
|
LimeSurvey: master 7138d9c9 2013-02-18 10:52 Details Diff |
Fixed issue 07286: Relevance Equation Problem with Ranking Question Dev: Ranking filter array filter the answer, not the SUBQ Dev: Tested with: array filter for rankning and array filter by ranking with answer code to 1,2,3 Dev: when make modification, remove a warning " Invalid argument supplied for foreach()" in em_manager_helper.php(3835): Quick fix |
Affected Issues 07286 |
|
mod - application/helpers/expressions/em_manager_helper.php | Diff File | ||
mod - application/helpers/qanda_helper.php | Diff File | ||
mod - scripts/ranking.js | Diff File |
Date Modified | Username | Field | Change |
---|---|---|---|
2013-02-11 03:55 | mjwallach | New Issue | |
2013-02-11 03:55 | mjwallach | File Added: limesurvey_survey_83723.lss | |
2013-02-15 10:34 | c_schmitz | Assigned To | => c_schmitz |
2013-02-15 10:34 | c_schmitz | Status | new => assigned |
2013-02-15 11:04 | c_schmitz | Assigned To | c_schmitz => DenisChenu |
2013-02-16 08:32 | mjwallach | Issue Monitored: mjwallach | |
2013-02-16 14:46 | DenisChenu | Note Added: 24125 | |
2013-02-16 14:46 | DenisChenu | File Added: limesurvey_survey_ranking-working.lss | |
2013-02-16 15:47 | DenisChenu | Note Added: 24130 | |
2013-02-18 10:56 | DenisChenu | Changeset attached | => LimeSurvey master 7138d9c9 |
2013-02-18 10:56 | DenisChenu | Note Added: 24142 | |
2013-02-18 10:56 | DenisChenu | Resolution | open => fixed |
2013-02-18 11:01 | DenisChenu | Note Added: 24143 | |
2013-02-18 11:01 | DenisChenu | Status | assigned => resolved |
2013-02-18 11:01 | DenisChenu | Fixed in Version | => 2.00+ |
2013-02-19 11:13 | c_schmitz | Note Added: 24151 | |
2013-02-19 11:13 | c_schmitz | Status | resolved => closed |