View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
08512 | Bug reports | Survey taking | public | 2014-01-07 09:42 | 2014-01-30 15:59 |
Reporter | finnnns | Assigned To | c_schmitz | ||
Priority | normal | Severity | tweak | ||
Status | closed | Resolution | fixed | ||
Product Version | 2.05+ | ||||
Fixed in Version | 2.05+ | ||||
Summary | 08512: Matrix question in dropdown presentation never shows "Please choose..." | ||||
Description | In matrix question with non mandatory and show no answer using the dropdown presentation two of the select tag's option tags get selected="selected" when there's an empty value. | ||||
Steps To Reproduce | Create a survey allowing Show [<< Prev] button Test the survey. There will never be "Please choose..." in the pulldown menu
| ||||
Additional Information | PHP code in application/helpers/qanda_helper.php code is Libe 4842
Line 4856 You'll notice both if (!isset($SESSION['survey'.Yii::app()->getConfig('surveyID')][$myfname]) || $SESSION['survey'.Yii::app()->getConfig('surveyID')][$myfname] =='') statements are identical. Somehow it would be better to give an explicit "NANS" code for "No answer" which would change the latter code to
I’m not sure about the implications this has on the statistical side of LimeSurvey. The “NANS” case should be handeled correctly there as well obviously. | ||||
Tags | No tags attached. | ||||
Attached Files | |||||
Bug heat | 6 | ||||
Complete LimeSurvey version number (& build) | 2.05 131219 | ||||
I will donate to the project if issue is resolved | No | ||||
Browser | |||||
Database type & version | mySQL 5.1.66 latest DB-Version | ||||
Server OS (if known) | Debian GNU/Linux 6.0.7 (squeeze) | ||||
Webserver software & version (if known) | Apache | ||||
PHP Version | 5.3.3-7+squeeze15 | ||||
The last no answer are only here if user want to select 'no answer' after choose an answer. Maybe we can remove it if Please choose is already here. (And all quand_helper have to rewritten for 2.1 version) |
|
Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=13704 |
|
Removed the obsolete 'Please choose' so the presentation matches the 'normal' version. |
|
2.05+ Build 140125 released |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2014-01-07 09:42 | finnnns | New Issue | |
2014-01-07 09:42 | finnnns | File Added: limesurvey_survey_271923.lss | |
2014-01-07 14:55 | DenisChenu | Note Added: 27732 | |
2014-01-07 16:48 | finnnns | Issue Monitored: finnnns | |
2014-01-17 14:09 | c_schmitz | Assigned To | => c_schmitz |
2014-01-17 14:09 | c_schmitz | Status | new => assigned |
2014-01-17 14:11 | c_schmitz | Changeset attached | => LimeSurvey master 39b0f578 |
2014-01-17 14:11 | c_schmitz | Note Added: 27954 | |
2014-01-17 14:11 | c_schmitz | Resolution | open => fixed |
2014-01-17 14:11 | c_schmitz | Note Added: 27955 | |
2014-01-17 14:11 | c_schmitz | Status | assigned => resolved |
2014-01-17 14:11 | c_schmitz | Fixed in Version | => 2.05+ |
2014-01-25 17:22 | c_schmitz | Note Added: 28166 | |
2014-01-25 17:22 | c_schmitz | Status | resolved => closed |
2014-01-30 15:59 | mfaber | Relationship added | related to 08631 |
2021-08-02 20:00 | guest | Bug heat | 4 => 6 |