View Issue Details

This issue affects 1 person(s).
 6
IDProjectCategoryView StatusLast Update
05141Bug reportsSurvey participants (Tokens)public2014-01-16 05:26
Reporterflenoble Assigned ToDenisChenu  
PrioritynormalSeverityminor 
Status closedResolutionunable to reproduce 
Product Version1.90+ 
Summary05141: double answer with same tokens
Description

In table lime_survey_xxxxx you can have 2 lines for the same user with the same token. First one waiting for validation (submit) submitdate is null, the other one is complete and the submitdate is the validation date

Steps To Reproduce
  • Create a survey
  • Send invitation
  • click on the survey link
  • Start to answer the survey, and say for continue later, at this moment there is and insert in the database, and you can leave the form who ask you login, ... without save it.
  • now change the computer (or delete cookie, I think) and restart to answer by click on the survey link
  • You restart the survey without your first answer.
  • complete all the survey submit your anwsers and now you have 2 lines in the table lime_survey_xxxxx.
TagsNo tags attached.
Bug heat6
Complete LimeSurvey version number (& build)9642
I will donate to the project if issue is resolvedNo
Browserfirefox
Database type & versionmysql 5
Server OS (if known)linux
Webserver software & version (if known)Apache
PHP Version5
Git branch / Pull Request URL

Users monitoring this issue

There are no users monitoring this issue.

Activities

DenisChenu

DenisChenu

2011-05-03 13:31

developer   ~14909

Hello,

To avoid this possibility : use the "Enable token-based response persistence?".

It's not a bug , it's a feature : you have the choice to do or not.

Maybe you want Enable token-based response persistence? enabled by default.

flenoble

flenoble

2011-05-04 10:52

reporter   ~14913

Hello
Thanks for your answer and I'm sorry to ask again but ... We are avoid the possibility but the result it's the same.
Be carreful, probably the problem doesn't exist if you complete the form after choose : continue later.
But in my test I don't complete the form I leave it empty (close the browser), but the datas are inserted in the database when you click on continue later not when you send the form fully completed.

Thanks again

Fabrice

DenisChenu

DenisChenu

2011-05-06 00:46

developer   ~14936

Did you tick "Enable token-based response persistence?" or set to Y.

flenoble

flenoble

2011-05-09 08:50

reporter   ~14960

Yes we try with Y and N the problem is the same, because the data are inserted in the database before the form submit, the problem is here, normally when you choos continue later you must save the answer after the form submit, when all the rows are complete, but it's not the case here, you can leave the form empty, and the data stay in the database.

Fabrice

DenisChenu

DenisChenu

2011-05-11 11:14

developer   ~14981

Last edited: 2011-05-11 11:18

Hello,

I look more, in svn version and in 1.90 version.

One survey with token : 3 question, after activate the survey and put one token:

I test:

  • Launch the survey with inviation link

  • Answer one question

  • save the survey

  • click the link in save
    => No new line

  • Launch the survey with inviation link

  • Answer one question

  • save the survey

  • click the link in invitation
    => No new line

I test again, i don't found new Response ID.

If i made an error in step by step, give us step by step instruction please. And trye with last svn version

Maybe there are a new line, but if user use the same survey, then i came to the actual survey.

If you don't activate "token persistance", then the first time, user click on next , then you have a new line too. If user answer again, then e new line is added.

Save the survey link is the same of clicking on "NEXT".

You can remove the "save the survey" link in the template.

c_schmitz

c_schmitz

2011-06-16 14:41

administrator   ~15466

No feedback.

Issue History

Date Modified Username Field Change
2011-05-02 11:07 flenoble New Issue
2011-05-03 13:31 DenisChenu Note Added: 14909
2011-05-03 13:32 DenisChenu Status new => closed
2011-05-03 13:32 DenisChenu Assigned To => DenisChenu
2011-05-03 13:32 DenisChenu Resolution open => won't fix
2011-05-04 10:52 flenoble Note Added: 14913
2011-05-04 10:52 flenoble Status closed => feedback
2011-05-04 10:52 flenoble Resolution won't fix => reopened
2011-05-06 00:46 DenisChenu Note Added: 14936
2011-05-09 08:50 flenoble Note Added: 14960
2011-05-09 08:50 flenoble Status feedback => assigned
2011-05-11 11:14 DenisChenu Note Added: 14981
2011-05-11 11:18 DenisChenu Note Edited: 14981
2011-06-16 14:41 c_schmitz Note Added: 15466
2011-06-16 14:41 c_schmitz Status assigned => closed
2011-06-16 14:41 c_schmitz Resolution reopened => unable to reproduce
2014-01-16 05:26 gspfranc Issue Monitored: gspfranc
2014-01-16 05:26 gspfranc Issue End Monitor: gspfranc
2016-12-08 10:39 c_schmitz Category Tokens => Survey participants (Tokens)