View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
12715 | Bug reports | Survey editing | public | 2017-09-26 15:14 | 2018-03-15 13:40 |
Reporter | katcher01 | Assigned To | |||
Priority | none | Severity | partial_block | ||
Status | closed | Resolution | reopened | ||
Product Version | 2.65.x | ||||
Fixed in Version | 3.5.x | ||||
Summary | 12715: Behavior change for numericalmultiple Slider default value when 0 or null Upgraded PHP version | ||||
Description | The slider behavior for default 0 or default null has changed. Situation 1 version 2.05+ MultiNumerical Slider: Slider would default to 0 Situation 2 version 2.65+ MultiNumerical Slider: Slider would default to 5 If min value selected other than 0 (zero) the slider appears to work as expected. If a user left the default slider value empty and the scale was from 0-x it would start at 0. This behavior appears to have changed. | ||||
Steps To Reproduce | Create a question with slider option select scale 0 - 100 | ||||
Additional Information | 2.05+ code performed the following test for null or zero // from application\helpers\qanda_helper.php if ($slider_default != "") Current Test 2.67+ $sliderStart = 'null'; $slider_default will never be evaluated if default value is null or 0. | ||||
Tags | No tags attached. | ||||
Bug heat | 8 | ||||
Complete LimeSurvey version number (& build) | 2.67.3+170728 (or earlier) | ||||
I will donate to the project if issue is resolved | No | ||||
Browser | not important | ||||
Database type & version | MSSQL | ||||
Server OS (if known) | Windows Server 2008 R2 Datacenter Edition Service Pack 1 | ||||
Webserver software & version (if known) | Apache/2.4.27 (Win32) | ||||
PHP Version | 5.6.31 | ||||
I have used th efollowing code in my test environment. //Three cases: $sliderStart = 'null'; |
|
Version 3.3.0 released |
|
Same bug in Version 3.4.0+180219 |
|
Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=26724 |
|
LimeSurvey: master c6479cbd 2018-03-12 15:07
Details Diff |
Fixed issue 12715: Behavior change for numericalmultiple Slider default value when 0 or null Upgraded PHP version |
Affected Issues 12715 |
|
mod - application/helpers/qanda_helper.php | Diff File | ||
mod - application/views/survey/questions/answer/multiplenumeric/rows/sliders/answer_row.twig | Diff File | ||
mod - assets/packages/questions/numeric-slider/scripts/numeric-slider.js | Diff File |
Date Modified | Username | Field | Change |
---|---|---|---|
2017-09-26 15:14 | katcher01 | New Issue | |
2017-10-02 21:11 | katcher01 | Note Added: 44537 | |
2018-02-07 12:57 |
|
Assigned To | => markusfluer |
2018-02-07 12:57 |
|
Status | new => resolved |
2018-02-07 12:57 |
|
Resolution | open => fixed |
2018-02-07 12:57 |
|
Fixed in Version | => 3.2.x |
2018-02-09 17:02 | c_schmitz | Note Added: 46359 | |
2018-02-09 17:02 | c_schmitz | Status | resolved => closed |
2018-02-26 17:44 | thrystan | Note Added: 46762 | |
2018-02-27 08:42 | c_schmitz | Status | closed => feedback |
2018-02-27 08:42 | c_schmitz | Resolution | fixed => reopened |
2018-03-12 14:08 |
|
Changeset attached | => LimeSurvey master c6479cbd |
2018-03-12 14:08 |
|
Note Added: 47022 | |
2018-03-12 15:12 |
|
Status | feedback => resolved |
2018-03-15 13:40 | ollehar | Status | resolved => closed |
2018-03-15 13:40 | ollehar | Fixed in Version | 3.2.x => 3.5.x |
2019-11-01 17:25 | c_schmitz | Category | Survey design => Survey editing |