View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
11850 | Bug reports | Survey taking | public | 2016-11-01 14:00 | 2017-07-21 17:08 |
Reporter | tpartner | Assigned To | DenisChenu | ||
Priority | none | Severity | partial_block | ||
Status | closed | Resolution | fixed | ||
Product Version | 2.55.x | ||||
Target Version | 3.0.x | ||||
Summary | 11850: Some slider settings broken when min value is negative or 0 | ||||
Description | When using a negative slider minimum value, the slider is initially loaded set to the maximum value regardless of the "Starts in middle position" or "Slider initial value" settings. See Q1 and Q2 in the attached survey. When using 0 as a minimum, the slider is initially loaded set to the maximum value even if "Slider initial value" is set to 0. See Q3 in the attached survey. | ||||
Tags | No tags attached. | ||||
Attached Files | |||||
Bug heat | 8 | ||||
Complete LimeSurvey version number (& build) | f3fe182 | ||||
I will donate to the project if issue is resolved | No | ||||
Browser | All | ||||
Database type & version | mysqlnd 5.0.11 | ||||
Server OS (if known) | Windows NT 6.2 build 9200 (Windows 8 Business Edition) i586 | ||||
Webserver software & version (if known) | Apache/2.4.10 | ||||
PHP Version | 5.5.19 | ||||
related to | 11732 | closed | DenisChenu | Slider reset don't reset to default position |
@tpartner : just to confirm : 2.5X have same issue ? |
|
@DenisChenu, yes, it was tested with 2.55. |
|
@DenisChenu, $slider_default is null in quanda_helper.php ~ line 2931. |
|
OK, i already do some fix in 3.0 and have another fix to do : https://bugs.limesurvey.org/view.php?id=11732 |
|
@tpartner : something i don't understand : Else in 2.55 or 3.0 : 0 is not set at value when use Slider initial value = 0 . But more is not set even if 'move to 0 (see 0) and go next : http://testing.sondages.pro/answershtml/index.php/867188/lang/en/newtest/Y |
|
@DenisChenu, I just pulled 2.55.2 and all sliders in my test survey still initialize at the max value (5), not in the middle or at 0 as the settings indicate. Tested in FF, Chrome and IE 11. |
|
... still can not reproduce .... (i just reset/pull) BUT : i don't fix it in 2.5X : all js is inlined. I rework it for 3.X , then fixing it only in 3.0 (sorry). |
|
It's not just me - https://www.limesurvey.org/forum/can-i-do-this-with-limesurvey/107494-allocate-weighting-across-subquestions-ranking-with-percentage#144054 |
|
I didn't say that :). I just say i don't understand why you have this issue and not me. For 3.0 : Sorry : but i work hard to move inline JS to one external function to better fixing it. It's one of the reason why i take time to work on 3.0 (and don't publish any plugin, take less time on my project) since one month. Then : i didn't fix it in 2.55. Someone else can do it. |
|
Fix committed to develop branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=21392 |
|
Version 3.0.0-beta.1 released |
|
LimeSurvey: develop 39ad1176 2016-11-14 14:07 Details Diff |
Fixed issue 11732: Slider reset don't reset to default position New feature : slider_default can set or not the value Dev: must do more test with , for radix, but 11849 |
Affected Issues 11732, 11850 |
|
mod - application/helpers/qanda_helper.php | Diff File | ||
mod - application/helpers/questionHelper.php | Diff File | ||
mod - application/views/survey/questions/multiplenumeric/rows/sliders/answer_row.php | Diff File | ||
mod - scripts/numeric-slider.js | Diff File | ||
LimeSurvey: develop e7cfb97e 2016-11-14 14:29 Details Diff |
Fixed issue 11850: Some slider settings broken when min value is negative or 0 Dev: already don ein parent, but update partially js |
Affected Issues 11850 |
|
mod - scripts/numeric-slider.js | Diff File |
Date Modified | Username | Field | Change |
---|---|---|---|
2016-11-01 14:00 | tpartner | New Issue | |
2016-11-01 14:00 | tpartner | File Added: limesurvey_survey_867188.lss | |
2016-11-04 11:34 | teracomp | Issue Monitored: teracomp | |
2016-11-04 12:32 |
|
Assigned To | => DenisChenu |
2016-11-04 12:32 |
|
Status | new => assigned |
2016-11-04 12:33 |
|
Target Version | 2.55.x => 3.0.x |
2016-11-04 13:29 | DenisChenu | Note Added: 41717 | |
2016-11-04 13:59 | tpartner | Note Added: 41718 | |
2016-11-04 14:06 | tpartner | Note Added: 41719 | |
2016-11-04 14:45 | DenisChenu | Note Added: 41720 | |
2016-11-04 14:45 | DenisChenu | Relationship added | related to 11732 |
2016-11-05 11:14 | DenisChenu | Note Added: 41724 | |
2016-11-05 11:15 | DenisChenu | Note Edited: 41724 | |
2016-11-05 12:26 | tpartner | Note Added: 41726 | |
2016-11-05 13:38 | DenisChenu | Note Added: 41728 | |
2016-11-05 13:39 | DenisChenu | Note Edited: 41728 | |
2016-11-05 13:51 | tpartner | Note Added: 41729 | |
2016-11-05 14:01 | DenisChenu | Note Added: 41730 | |
2016-11-05 14:01 | DenisChenu | Note Edited: 41730 | |
2016-11-14 13:30 | DenisChenu | Changeset attached | => LimeSurvey develop e7cfb97e |
2016-11-14 13:30 | DenisChenu | Note Added: 41879 | |
2016-11-14 13:30 | DenisChenu | Resolution | open => fixed |
2016-11-14 13:31 | DenisChenu | Changeset attached | => LimeSurvey develop 39ad1176 |
2016-11-14 13:31 | DenisChenu | Status | assigned => resolved |
2016-11-14 13:31 | DenisChenu | Fixed in Version | => 3.0 |
2017-07-21 17:08 | c_schmitz | Note Added: 44161 | |
2017-07-21 17:08 | c_schmitz | Status | resolved => closed |
2021-08-02 17:22 | guest | Bug heat | 6 => 8 |