View Issue Details

This bug affects 1 person(s).
 8
IDProjectCategoryView StatusLast Update
04917Bug reportsSurvey participants (Tokens)public2011-02-17 18:25
Reporteruser11859Assigned Tolemeur  
PrioritynormalSeverityminor 
Status closedResolutionfixed 
Product Version1.91RC3 
Fixed in Version1.91RC4 
Summary04917: Not allowed to edit answers after completion.
Description

It is impossible to edit answers after completion.

Error Message:
This is a controlled survey. You need a valid token to participate.
The token you have provided is either not valid, or has already been used.

Survey Config:
Allow public registration > YES
Allow editing answers after completion > YES
Enable token-based response persistence > YES
Use CAPTCHA for > Survey access / Registration / Save & load

Steps To Reproduce

1) Register with a first/last name and email address.
2) Click the link in the email sent by LimeSurvey.
3) Enter a number for CAPTCHA and answer for the survey.
4) Submit answers.
5) Click again the link in the email. (URL with sid and token)
6) Enter a number for CAPTCHA.
7) The error message is shown.

Additional Information

I tried reading index.php.
Please check around line 2465-2475.
It seems that the error message is shown whenever $areTokensUsed is true even if $thissurvey['alloweditaftercompletion'] is 'Y'.

TagsNo tags attached.
Attached Files
Bug heat8
Complete LimeSurvey version number (& build)9715
I will donate to the project if issue is resolvedNo
Browser
Database type & versionmysqlnd 5.0.7
Server OS (if known)Windows XP
Webserver software & version (if known)Apache/2.2.16
PHP Version5.3.3

Users monitoring this issue

There are no users monitoring this issue.

Activities

Mazi

Mazi

2011-02-02 12:38

updater   ~14038

Please attach a simple survey which we can use for testing.

Thanks!

user11859

2011-02-03 05:53

  ~14046

Thank you for your quick response.
I'm sorry about the information shortage. I attached a lss file.

lemeur

lemeur

2011-02-09 00:22

developer   ~14095

Fixed in rev 9753

c_schmitz

c_schmitz

2011-02-17 18:25

administrator   ~14227

1.91RC4 released

Issue History

Date Modified Username Field Change
2011-02-02 09:29 user11859 New Issue
2011-02-02 12:38 Mazi Note Added: 14038
2011-02-02 12:38 Mazi Assigned To => lemeur
2011-02-02 12:38 Mazi Status new => feedback
2011-02-03 05:53 user11859 Note Added: 14046
2011-02-03 05:53 user11859 Status feedback => assigned
2011-02-03 05:54 user11859 File Added: limesurvey_survey_45236.lss
2011-02-09 00:22 lemeur Note Added: 14095
2011-02-09 00:22 lemeur Status assigned => resolved
2011-02-09 00:22 lemeur Fixed in Version => 1.91RC4
2011-02-09 00:22 lemeur Resolution open => fixed
2011-02-17 18:25 c_schmitz Note Added: 14227
2011-02-17 18:25 c_schmitz Status resolved => closed
2016-12-08 10:39 c_schmitz Category Tokens => Survey participants (Tokens)