View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
08315 | Bug reports | Expression Manager | public | 2013-10-25 18:34 | 2013-12-19 09:43 |
Reporter | msr_lance | Assigned To | DenisChenu | ||
Priority | normal | Severity | minor | ||
Status | closed | Resolution | fixed | ||
Product Version | 2.00+ | ||||
Fixed in Version | 2.00+ | ||||
Summary | 08315: Group hidden when Multiple Choice has placeholder question text and a dependent question. | ||||
Description | The combination of a Multiple Choice question using placeholder (lime replacement) in the question text and having a question dependent on the MC's SQ results in the page being hidden. | ||||
Steps To Reproduce | Set survey to All-in-one.
group-1 will be hidden | ||||
Additional Information | The code that hides group-1 occurs when relevance1609 != '1'… and relevance1609 is only set to 1 if 948483X147X1597SQ001 is selected. 948483X147X1597SQ001 is the option for the multiple choice itself. if (($('#relevance1609').val()=='1')) { if ((((LEMval('948483X147X1597SQ001.NAOK') == "Y")))) | ||||
Tags | No tags attached. | ||||
Attached Files | |||||
Bug heat | 8 | ||||
Complete LimeSurvey version number (& build) | 131022 | ||||
I will donate to the project if issue is resolved | No | ||||
Browser | Chrome | ||||
Database type & version | MySQL 5.6.12 | ||||
Server OS (if known) | Ubuntu 12.04.3 | ||||
Webserver software & version (if known) | nginx 1.1.19 | ||||
PHP Version | PHP 5.3.10 | ||||
related to | 08438 | closed | DenisChenu | Hidden Fields Not recording default data |
I can confirm that it is the combination of a placeholder at the MC question AND the condition at the following question which causes the problem.
The combination of both causes problems though. |
|
For some reason the group is only being flagged as "always relevant" if there is NO tailoring in it. See the following condition in line 6204 of em_manager_helper.php: Thomas, thoughts as to why that condition would have been inserted? |
|
Hi, I upload before.lss and don't find the relevance and the placeholder, WHat is my error in example lss file ? |
|
Denis, add a {q1} placeholder to the text of "q2b" and retest (see my screenshot - placeholder_1.png) |
|
Really strange issue |
|
Yeah, but easily fixed by removing "count($tailorParts) == 0". I'm just not sure why that was put in so am reluctant to remove it. |
|
Thanks for the tips Tony :) |
|
Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=13446 |
|
Fixed in 2.0, hard to realy fix, maybe don't test all combination ... |
|
Fix committed to 2.05 branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=13450 |
|
2.00+ Build 131122 released |
|
LimeSurvey: master 8111964a 2013-11-14 11:20 Details Diff |
Fixed issue 08315: Group hidden when Multiple Choice has placeholder question text and a dependent question. Dev: this fix other issue with Equation question type Dev: This fix other issue with hidden attribute |
Affected Issues 08315 |
|
mod - application/helpers/expressions/em_core_helper.php | Diff File | ||
mod - application/helpers/expressions/em_manager_helper.php | Diff File | ||
mod - scripts/expressions/em_javascript.js | Diff File | ||
LimeSurvey: 2.05 17024296 2013-11-15 18:46 Details Diff |
Fixed issue 08315: Group hidden when Multiple Choice has placeholder question text and a dependent question. Dev: this fix other issue with Equation question type Dev: This fix other issue with hidden attribute Dev : cherry pick of 8111964aee28f4da4335088e72c4817ee54b266d |
Affected Issues 08315 |
|
mod - application/helpers/expressions/em_core_helper.php | Diff File | ||
mod - application/helpers/expressions/em_manager_helper.php | Diff File | ||
mod - scripts/expressions/em_javascript.js | Diff File |
Date Modified | Username | Field | Change |
---|---|---|---|
2013-10-25 18:34 | msr_lance | New Issue | |
2013-10-25 18:34 | msr_lance | File Added: before.lss | |
2013-10-25 20:56 | Mazi | Assigned To | => c_schmitz |
2013-10-25 20:56 | Mazi | Status | new => assigned |
2013-10-25 20:58 | Mazi | Note Added: 26995 | |
2013-10-26 21:36 | c_schmitz | Assigned To | c_schmitz => |
2013-10-26 21:36 | c_schmitz | Status | assigned => new |
2013-11-01 20:32 | tpartner | Note Added: 27070 | |
2013-11-01 20:34 | tpartner | Note Edited: 27070 | |
2013-11-01 20:35 | tpartner | Assigned To | => TMSWhite |
2013-11-01 20:35 | tpartner | Status | new => assigned |
2013-11-04 22:33 | DenisChenu | Note Added: 27085 | |
2013-11-04 22:34 | DenisChenu | File Added: limesurvey_survey_bug 08315.lss | |
2013-11-04 22:45 | tpartner | File Added: placeholder_1.png | |
2013-11-04 22:45 | tpartner | Note Added: 27086 | |
2013-11-07 15:04 | c_schmitz | Assigned To | TMSWhite => DenisChenu |
2013-11-08 09:01 | DenisChenu | Note Added: 27147 | |
2013-11-08 12:25 | tpartner | Note Added: 27158 | |
2013-11-08 13:27 | DenisChenu | Note Added: 27159 | |
2013-11-14 11:20 | DenisChenu | Changeset attached | => LimeSurvey master 8111964a |
2013-11-14 11:20 | DenisChenu | Note Added: 27191 | |
2013-11-14 11:20 | DenisChenu | Resolution | open => fixed |
2013-11-14 11:21 | DenisChenu | Note Added: 27192 | |
2013-11-15 18:46 | DenisChenu | Changeset attached | => LimeSurvey 2.05 17024296 |
2013-11-15 18:46 | DenisChenu | Note Added: 27199 | |
2013-11-15 18:46 | DenisChenu | Status | assigned => resolved |
2013-11-15 18:46 | DenisChenu | Fixed in Version | => 2.00+ |
2013-11-24 19:05 | c_schmitz | Note Added: 27351 | |
2013-11-24 19:05 | c_schmitz | Status | resolved => closed |
2013-12-19 09:43 | c_schmitz | Relationship added | related to 08438 |