View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
06057 | Bug reports | Survey taking | public | 2012-05-01 07:36 | 2012-06-07 11:04 |
Reporter | Assigned To | tpartner | |||
Priority | normal | Severity | partial_block | ||
Status | closed | Resolution | fixed | ||
Product Version | 2.00b1 | ||||
Fixed in Version | 1.92+ | ||||
Summary | 06057: Hitting RETURN while typing in M.C. 'Other' of non-tracked survey looses all survey input | ||||
Description | In a survey which is not tracked (no tokens), if the user types text into certain fields and presses ENTER (Return) by mistake, the survey disappears and is replaced with a screen asking the user to provide login credentials. Since the user never saved anything, they have no login credentials to provide. All input entered into the survey is lost at that point. Clicking "return to survey" on the login screen returns to a completely empty survey. Most likely there is a bug which sends control to the 'resume' logic when it should instead ask the user if they want to 'save' their work (actually, it would be preferable to make Return not automatically push -any- buttons). | ||||
Steps To Reproduce | Load the attached survey and activate it. Reply "no" to the tracking question. In another browser window, visit the survey URL. Enter some text into the 'Other' input field of the multiple-choice question (enter more text than is visible -- not sure if that matters). Press RETURN. The survey is lost at that point. | ||||
Tags | No tags attached. | ||||
Attached Files | |||||
Bug heat | 6 | ||||
Complete LimeSurvey version number (& build) | 120425 | ||||
I will donate to the project if issue is resolved | Yes | ||||
Browser | Firefox 12 or Chromium 18.8.1025.151(Ubuntu) | ||||
Database type & version | 155 | ||||
Server OS (if known) | Ubuntu 11.10 64-bit | ||||
Webserver software & version (if known) | apache 2.2 | ||||
PHP Version | php5 5.3.6 | ||||
Using "All in One" mode seems to be necessary for the bug to happen. |
|
This is occuring because clicking "Enter" while in a text input will automaticlly click the next type=submit element in the form which happens to be the "Load unfinished survey" button (this is normal browser behaviour). What is not normal is that for some reason the "Load unfinished survey" button has been given a type=submit. Carsten, is there any reason why the "Load unfinished survey" button isn't a type=button? Of course, if we fix that, then clicking "Enter" while in a text input will submit the page but that's better that firing the "Load unfinished survey" function. |
|
tpartner, I would not know of any reason for that. Can you try and see for your suggested fix`? |
|
Anyway, the form needs to be submitted because the results need to be saved before the REsume forms comes up. Maybe that's the reason? |
|
Fixed. I switched the loadall elements to type="button" (similar to the saveallbtn element). The form still submits when clicking "Enter" in a text input (which is normal browser behaviour) but no longer goes to the "Load unfinished survey" screen. |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2012-05-01 07:36 |
|
New Issue | |
2012-05-01 07:36 |
|
File Added: limesurvey_survey_BUG.lss | |
2012-05-02 00:37 |
|
Note Added: 18532 | |
2012-05-02 00:37 |
|
Issue Monitored: user19571 | |
2012-05-04 14:43 | tpartner | Assigned To | => c_schmitz |
2012-05-04 14:43 | tpartner | Status | new => assigned |
2012-05-04 14:43 | tpartner | Note Added: 18577 | |
2012-05-07 09:13 | c_schmitz | Assigned To | c_schmitz => tpartner |
2012-05-07 09:13 | c_schmitz | Note Added: 18586 | |
2012-05-08 10:49 | c_schmitz | Note Added: 18625 | |
2012-05-29 18:40 | tpartner | Note Added: 18995 | |
2012-05-29 18:40 | tpartner | Status | assigned => resolved |
2012-05-29 18:40 | tpartner | Resolution | open => fixed |
2012-06-07 11:04 | c_schmitz | Status | resolved => closed |
2012-06-07 11:04 | c_schmitz | Fixed in Version | => 1.92+ |