View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
10537 | Bug reports | Survey taking | public | 2016-02-19 15:12 | 2016-02-23 08:51 |
Reporter | StCripps | Assigned To | |||
Priority | urgent | Severity | partial_block | ||
Status | closed | Resolution | fixed | ||
Product Version | 2.50.x | ||||
Summary | 10537: Rank question display error on page re-render | ||||
Description | If you re-render a page AFTER completing a Ranking question, the answer is corrupted. The re-render might happen if you don't complete something correctly on the page (and you get the warning message) or if you go to another page and come back again. Every answer in the right box becomes the first item in the list. The remaining items in the list move back to the left box. See the attached screenshots. I get the same behaviour in Edge / Chrome and whether the question is mandatory and whether the minimum number of answers is set or not. | ||||
Steps To Reproduce | Create a ranking question with several answers. Test the survey (you can't do it from preview as you don't have a next button). Have another mandatory question in the group so you can force the re-render by getting an error message on submit, or have more than one page to go previous / next. Complete the ranking list. | ||||
Tags | No tags attached. | ||||
Attached Files | |||||
Bug heat | 8 | ||||
Complete LimeSurvey version number (& build) | 2.5 160219 | ||||
I will donate to the project if issue is resolved | No | ||||
Browser | Edge / Chrome | ||||
Database type & version | MySQL 5.1 | ||||
Server OS (if known) | Linux (hosted - not sure which version) | ||||
Webserver software & version (if known) | Apache (hosted - not sure which version) | ||||
PHP Version | 5.4.45 | ||||
Hi, Can you try with decativate JS to see if it's js the issue or php please. And send a lss file with only one ranking question and one 'mandatory' question (to show the error). |
|
Hi. lss uploaded. With Javascript disabled, you obviously only get the options as a set of drop-down lists rather than the slider, however, you still get the same problem on re-render every item become the first one in the list. Screen shot added as well. |
|
OK then it's a PHP issue :) Yes : without JS we can not use jquery then use dropdown. Same for accessibility :) |
|
Is this problem specific to 2.5 ? |
|
Yes i make and send a lss in 2 minutes : with a "deactivate js ranking" system too (2 groups). |
|
ok thank you |
|
Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=17552 |
|
OK ... no time for lss .... |
|
Version 2.50+ Build 160222 released |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2016-02-19 15:12 | StCripps | New Issue | |
2016-02-19 15:12 | StCripps | File Added: Rank-broken.png | |
2016-02-19 16:02 | DenisChenu | Note Added: 35462 | |
2016-02-19 16:02 | DenisChenu | Note Edited: 35462 | |
2016-02-19 16:39 | StCripps | File Added: limesurvey_RankDisplayBroken.lss | |
2016-02-19 16:49 | StCripps | Note Added: 35468 | |
2016-02-19 16:49 | StCripps | File Added: Rank-noJava.png | |
2016-02-19 16:50 | StCripps | Issue Monitored: StCripps | |
2016-02-19 16:50 | StCripps | Issue End Monitor: StCripps | |
2016-02-19 17:21 | DenisChenu | Note Added: 35469 | |
2016-02-21 19:33 | c_schmitz | Priority | normal => urgent |
2016-02-22 10:15 |
|
Note Added: 35506 | |
2016-02-22 10:20 | DenisChenu | Note Added: 35507 | |
2016-02-22 10:28 |
|
Note Added: 35511 | |
2016-02-22 12:26 |
|
Changeset attached | => LimeSurvey master b0e34503 |
2016-02-22 12:26 |
|
Note Added: 35524 | |
2016-02-22 12:26 |
|
Assigned To | => LouisGac |
2016-02-22 12:26 |
|
Resolution | open => fixed |
2016-02-22 12:27 |
|
Status | new => resolved |
2016-02-22 12:28 | DenisChenu | Note Added: 35525 | |
2016-02-23 08:51 | c_schmitz | Note Added: 35562 | |
2016-02-23 08:51 | c_schmitz | Status | resolved => closed |