View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
11494 | Bug reports | Survey taking | public | 2016-07-25 19:46 | 2016-08-01 14:15 |
Reporter | DenisChenu | Assigned To | DenisChenu | ||
Priority | normal | Severity | minor | ||
Status | closed | Resolution | fixed | ||
Product Version | 2.50.x | ||||
Fixed in Version | 2.50.x | ||||
Summary | 11494: NANS cpode for single radio break HTML | ||||
Description | If you add a answer with code NANS : this break HTML validirty + break selection of "No answer" | ||||
Steps To Reproduce | Import included survey, test it : look at HTML | ||||
Additional Information | There are 2 radio with same id answer{SGQ}NANS 2 solutions :
We have the same issue in 2.06. I dooooooon't control multiple question type. | ||||
Tags | No tags attached. | ||||
Attached Files | |||||
Bug heat | 4 | ||||
Complete LimeSurvey version number (& build) | 20160725 | ||||
I will donate to the project if issue is resolved | No | ||||
Browser | not relevant | ||||
Database type & version | not relevant | ||||
Server OS (if known) | not relevant | ||||
Webserver software & version (if known) | not relevant | ||||
PHP Version | not relevant | ||||
Just disallow NANS as code ;) |
|
I really think using same system than "List with comment" is OK. In fact : there are no reason to use NANS ? If there are a reason : we need to fix the other answer id (Yes/No - List with comments - Gender etc ....) |
|
extensions/questionTypes/listRadio/listRadio.php: $answer .= ' <label for="answer'.$ia[1].'NANS" class="answertext control-label">'.gT('No answer').'</label>'; Musr control em mangare helper BUT if it work for Y/N , it miust work the same way for List radio |
|
Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=19790 |
|
Version 2.50 Build 160731 released |
|
LimeSurvey: master 2c293f02 2016-07-26 21:37 Details Diff |
Fixed issue 11494: NANS code for single radio break HTML Dev: remove NANS and leave empty string (the answer value in gact, like other radio button) Dev: same for other radio select, or array ( SGQ- for no answer) |
Affected Issues 11494 |
|
mod - application/extensions/questionTypes/listRadio/listRadio.php | Diff File | ||
mod - application/helpers/expressions/em_manager_helper.php | Diff File | ||
mod - application/helpers/qanda_helper.php | Diff File | ||
mod - application/views/admin/templates/templateeditor_question_answer_view.php | Diff File | ||
mod - application/views/survey/questions/listradio/rows/answer_row_noanswer.php | Diff File |
Date Modified | Username | Field | Change |
---|---|---|---|
2016-07-25 19:46 | DenisChenu | New Issue | |
2016-07-25 19:48 | DenisChenu | File Added: limesurvey_survey_NANSbug.lss | |
2016-07-26 10:44 | c_schmitz | Priority | none => normal |
2016-07-26 11:10 | c_schmitz | Note Added: 40054 | |
2016-07-26 11:28 | DenisChenu | Note Added: 40055 | |
2016-07-26 11:28 | DenisChenu | Assigned To | => DenisChenu |
2016-07-26 11:28 | DenisChenu | Status | new => assigned |
2016-07-26 18:38 | DenisChenu | Note Added: 40062 | |
2016-07-26 21:37 | DenisChenu | Changeset attached | => LimeSurvey master 2c293f02 |
2016-07-26 21:37 | DenisChenu | Note Added: 40065 | |
2016-07-26 21:37 | DenisChenu | Resolution | open => fixed |
2016-07-26 21:38 | DenisChenu | Status | assigned => resolved |
2016-07-26 21:38 | DenisChenu | Fixed in Version | => 2.5 |
2016-08-01 14:15 | c_schmitz | Note Added: 40141 | |
2016-08-01 14:15 | c_schmitz | Status | resolved => closed |