View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
06046 | Bug reports | Survey taking | public | 2012-04-25 11:02 | 2012-05-17 10:27 |
Reporter | Assigned To | TMSWhite | |||
Priority | urgent | Severity | partial_block | ||
Status | closed | Resolution | fixed | ||
Product Version | 1.92+ | ||||
Fixed in Version | 1.92+ | ||||
Summary | 06046: Resume later deletes answers from db when all questions are on one page | ||||
Description | Limesurvey (Version 1.92+ Build 120418) has a problem with 'Resume later' option when survey group option 'All in one' is selected. Here is what happens:
This time, when you are returned back to survey, the survey form is hidden and all the answers are deleted from database. 'Resume later' works fine when survey group option is 'Group by group' or 'Question by question'. Also, if you use 'load unfinished survey' after 'resume later' in the 'all in one' -mode, it also works. But this is not something that is obvious to user. | ||||
Additional Information | This has been tested with simple survey of few questions and with a complex survey, both have the same problem with 'resume later' in 'all in one ' mode, but work fine in 'group by group' and 'question by question' modes. | ||||
Tags | No tags attached. | ||||
Attached Files | |||||
Bug heat | 6 | ||||
Complete LimeSurvey version number (& build) | 120418 | ||||
I will donate to the project if issue is resolved | No | ||||
Browser | |||||
Database type & version | MySQL 5 | ||||
Server OS (if known) | Linux | ||||
Webserver software & version (if known) | Apache2 | ||||
PHP Version | 5.2.6 | ||||
I am sorry, but I cannot reproduce this. Please attach a 3-question sample survey demonstrating the issue - thank you. |
|
Here is a simple three question survey that produces the bug. When this survey is run in 'all in one' survey mode and 'resume later' is used to save twice during survey, all the questions and answers disappear. But when this survey is run in 'group by group' survey mode, then 'resume later' works fine even if used more than twice. |
|
I can't reproduce the problem. Each time I select "resume later", I have to enter a new username/password; and I can't use the old ones (e.g. if I try to resume from an old username/password, it doesn't work), but if I resume from the most recent username/password, I get the proper data back each time. I tested 5 rounds of resume/restore within and across browsers. |
|
I can reproduce now, thank you. |
|
TMSWhite: I have to admit I am lost at this. At some point during saving the survey so far the grouprelevance gets lost. I tried to debug this for hours but did not find out what exactly goes wrong. It seems to happens right after first save, the survey form is missing certain variables. I think because the 'Resume later' form is some undefined state for RM. Can you please have a look at this? |
|
Carsten- I'd be willing to take a look, but I haven't been able to reproduce this myself. Can you provide more specific directions on how you reproduced this bug? |
|
If you follow the original instructions it is easy to reproduce. |
|
OK, now I can reproduce it using the original instructions (e.g. don't close browser windows and reload survey from emailed link; rather click resume twice from within the same session). |
|
Fix committed to Yii branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=8385 |
|
Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=8386 |
|
New 1.92+ version released. |
|
LimeSurvey: master 045a8c68 2012-05-09 10:38:10 Details Diff |
Fixed issue 06046: Resume later deletes answers from db when all questions are on one page |
Affected Issues 06046 |
|
mod - classes/expressions/LimeExpressionManager.php | Diff File | ||
mod - group.php | Diff File | ||
LimeSurvey: Yii 051be275 2012-05-09 10:41:39 Details Diff |
Fixed issue 06046: Resume later deletes answers from db when all questions are on one page |
Affected Issues 06046 |
|
mod - application/helpers/expressions/em_manager_helper.php | Diff File |
Date Modified | Username | Field | Change |
---|---|---|---|
2012-04-25 11:02 |
|
New Issue | |
2012-04-25 12:44 | c_schmitz | Assigned To | => c_schmitz |
2012-04-25 12:44 | c_schmitz | Status | new => assigned |
2012-05-02 23:52 | c_schmitz | Note Added: 18556 | |
2012-05-02 23:52 | c_schmitz | Status | assigned => feedback |
2012-05-04 16:12 |
|
File Added: simple_3_question_test_survey.lss | |
2012-05-04 16:13 |
|
Note Added: 18578 | |
2012-05-04 16:13 |
|
Status | feedback => assigned |
2012-05-04 21:01 | TMSWhite | Note Added: 18585 | |
2012-05-07 09:16 | c_schmitz | Note Added: 18590 | |
2012-05-07 11:43 | c_schmitz | Note Added: 18592 | |
2012-05-07 11:43 | c_schmitz | Assigned To | c_schmitz => TMSWhite |
2012-05-07 13:28 | TMSWhite | Note Added: 18601 | |
2012-05-07 13:49 | c_schmitz | Note Added: 18602 | |
2012-05-07 15:19 | TMSWhite | Note Added: 18614 | |
2012-05-09 19:42 | TMSWhite | Changeset attached | => LimeSurvey Yii 051be275 |
2012-05-09 19:42 | TMSWhite | Note Added: 18646 | |
2012-05-09 19:42 | TMSWhite | Resolution | open => fixed |
2012-05-09 19:44 | TMSWhite | Changeset attached | => LimeSurvey master 045a8c68 |
2012-05-09 19:44 | TMSWhite | Note Added: 18647 | |
2012-05-09 19:44 | TMSWhite | Status | assigned => resolved |
2012-05-09 19:44 | TMSWhite | Fixed in Version | => 1.92+ |
2012-05-17 10:27 | c_schmitz | Note Added: 18822 | |
2012-05-17 10:27 | c_schmitz | Status | resolved => closed |