View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 08079 | Bug reports | Survey taking | public | 2013-08-04 22:05 | 2013-08-07 19:42 |
| Reporter | mfaber | Assigned To | |||
| Priority | high | Severity | partial_block | ||
| Status | closed | Resolution | fixed | ||
| Product Version | 2.05 RC | ||||
| Summary | 08079: Problem with ranking question in 2.05: False message about use of browsers 'back button' | ||||
| Description | When taking the attached test survey and the submit button is clicked, the message about having used the 'browsers back button' appears, the form is reset and the participant's answers are lost. The participant has then to fill the question again. When clicking 'submit' the second time, the message does not appear anymore and the answers are recorded. 1-question test survey attached | ||||
| Steps To Reproduce | activate and take the attached survey... | ||||
| Tags | No tags attached. | ||||
| Attached Files | |||||
| Bug heat | 2 | ||||
| Complete LimeSurvey version number (& build) | 130804 | ||||
| I will donate to the project if issue is resolved | No | ||||
| Browser | Chrome | ||||
| Database type & version | MySQL 5.0.10 | ||||
| Server OS (if known) | Win7 | ||||
| Webserver software & version (if known) | Apache/2.4.3 (Win32) | ||||
| PHP Version | PhP 5.4.7 | ||||
| Git branch / Pull Request URL | |||||
|
I narrowed the problem down quite a bit but I am pretty puzzled: When a ranking question is on the page and "submit" is clicked, ($_SESSION[$LEMsessid]['LEMpostKey'] and $_POST['LEMpostKey'] do not match and the message about having used the browsers back button appears. They do not match because the function run($surveyid,$args) in surveyruntimehelper.php is called twice and with it So, when submit is clicked the LEMpostKey in $_SESSION will be different from the one received from the created html (via $_POST). Oddly, if I remove |
|
|
Problem is fixed by Sam's commit: |
|
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2013-08-04 22:05 | mfaber | New Issue | |
| 2013-08-04 22:05 | mfaber | File Added: browserbuttons.lss | |
| 2013-08-06 16:52 | mfaber | File Deleted: browserbuttons.lss | |
| 2013-08-06 16:53 | mfaber | File Added: browserbuttons.lss | |
| 2013-08-06 22:21 | mfaber | Note Added: 25939 | |
| 2013-08-06 22:23 | mfaber | Summary | Answers not recorded: Use of browsers 'back button' => Problem with ranking question in 2.05: False message about use of browsers 'back button' |
| 2013-08-06 22:23 | mfaber | Description Updated | |
| 2013-08-07 19:40 | mfaber | Note Added: 25940 | |
| 2013-08-07 19:42 | mfaber | Status | new => closed |
| 2013-08-07 19:42 | mfaber | Resolution | open => fixed |