View Issue Details

This bug affects 1 person(s).
 6
IDProjectCategoryView StatusLast Update
14951Bug reportsSurvey takingpublic2020-03-09 15:36
Reporterrealitix Assigned Todominikvitt 
PrioritynoneSeverityminor 
Status closedResolutionfixed 
Product Version3.16.x 
Fixed in Version3.17.x 
Summary14951: Loss of data when loading a non finished survey
Description

Hello,

I found a way lo lose data.
When you fill a survey as a user, in the top bar, you can load a non finished survey or finish later.

If you have ever filled the survey and you load a non finished survey, then come back on the survey with "Back to the survey", you will lose data.

See the steps to reproduce to understand.

Steps To Reproduce

My Limesurvey is in French so I'm not sure about the traduction of button's label.

  1. Create a survey with one group and one question (small text for example)
  2. In "general settings" > set Format to "All in one"
  3. In "Notifications & data" > set "Participant may save and resume later"
  4. Activate the survey
  5. Copy the public link to the survey and paste it in another web navigator (to remove cache, cookies, etc..)
  6. In the textfield, set "AAAAA"
  7. Click on "Load a non finished survey" -> Then come back to the survey
    ->> The textfield is empty
  8. In the textfield, set "CCCCC"
  9. Click on "Finish later" -> Then come back to the survey
    ->> The textfield keeps "CCCCC"

The behavior should be the same for both of the action, when you come back to the survey, the data should be conserved.

TagsNo tags attached.
Bug heat6
Complete LimeSurvey version number (& build)3.15.8
I will donate to the project if issue is resolvedNo
Browser
Database type & version0
Server OS (if known)
Webserver software & version (if known)
PHP Version0

Users monitoring this issue

There are no users monitoring this issue.

Activities

dominikvitt

dominikvitt

2019-06-06 15:42

developer   ~52318

This issue is fixed.
The patch is available now on GitHub and would be available on next LimeSurvey release.

https://github.com/LimeSurvey/LimeSurvey/commit/e928c840233f8243acc0dea9ee2d37a79cf333d2

realitix

realitix

2019-06-07 09:48

reporter   ~52330

Thanks a lot

c_schmitz

c_schmitz

2019-06-28 12:27

administrator   ~52639

Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=29032

Related Changesets

LimeSurvey: master e928c840

2019-06-06 15:34:56

Dominik Vitt

Details Diff
Fixed issue 14951: Loss of data when loading a non finished survey Affected Issues
14951
mod - application/controllers/survey/index.php Diff File
mod - application/helpers/SurveyRuntimeHelper.php Diff File

Issue History

Date Modified Username Field Change
2019-05-29 11:24 realitix New Issue
2019-05-31 13:22 dominikvitt Assigned To => dominikvitt
2019-05-31 13:22 dominikvitt Status new => assigned
2019-06-06 15:42 dominikvitt Status assigned => resolved
2019-06-06 15:42 dominikvitt Resolution open => fixed
2019-06-06 15:42 dominikvitt Fixed in Version => 3.17.x
2019-06-06 15:42 dominikvitt Note Added: 52318
2019-06-07 09:48 realitix Note Added: 52330
2019-06-28 12:27 Changeset attached => LimeSurvey master e928c840
2019-06-28 12:27 c_schmitz Note Added: 52639
2020-03-09 15:36 c_schmitz Status resolved => closed