View Issue Details

This bug affects 1 person(s).
 2
IDProjectCategoryView StatusLast Update
10197Bug reportsSurvey participants (Tokens)public2016-01-22 08:54
ReporterDenisChenu Assigned ToDenisChenu  
PrioritynormalSeverityminor 
Status closedResolutionfixed 
Product Version2.06+ 
Target Version2.06+Fixed in Version2.06+ 
Summary10197: LimeSurvey with token : savec return to survey don't work
Description

With a survey with token : anonymous or useleft > 1 or without persistence : after saving : the token can be false.

Steps To Reproduce

Create a survey with token anonymous allow save. Generate token and look to a token with ~ (or create a token with ~).

Click on save survey
Click on go back survey : token is invalid

Additional Information

Since we have more than [a-b0-9] in token code , some character are removed. ~ is an exemple, maybe more.

TagsNo tags attached.
Bug heat2
Complete LimeSurvey version number (& build)151215
I will donate to the project if issue is resolvedNo
Browsernot relevant
Database type & versionnot relevant
Server OS (if known)not relevant
Webserver software & version (if known)not relevant
PHP Versionnot relevant

Users monitoring this issue

There are no users monitoring this issue.

Activities

DenisChenu

DenisChenu

2016-01-05 19:12

developer   ~34149

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

Related Changesets

LimeSurvey: master 65160fbc

2016-01-05 18:12:12

DenisChenu

Details Diff
Fixed issue 10197: token in return link can be invalid after saving survey
Dev: Specific to token : Move to Token function, same place than token generation
Dev: Used elsewhere, todo : remove it for 2.5
Affected Issues
10197
mod - application/helpers/replacements_helper.php Diff File
mod - application/helpers/sanitize_helper.php Diff File
mod - application/models/Token.php Diff File

LimeSurvey: master ebe531ee

2016-01-06 20:51:55

jackwarner

Details Diff
Fix initialize tokens error

Syntax error (consecutive return statements)
Affected Issues
10197
mod - application/models/Token.php Diff File

Issue History

Date Modified Username Field Change
2016-01-05 17:56 DenisChenu New Issue
2016-01-05 17:56 DenisChenu Status new => assigned
2016-01-05 17:56 DenisChenu Assigned To => DenisChenu
2016-01-05 19:12 DenisChenu Changeset attached => LimeSurvey master 65160fbc
2016-01-05 19:12 DenisChenu Note Added: 34149
2016-01-05 19:12 DenisChenu Resolution open => fixed
2016-01-08 10:51 DenisChenu Changeset attached => LimeSurvey master ebe531ee
2016-01-08 10:51 DenisChenu Status assigned => resolved
2016-01-08 10:51 DenisChenu Fixed in Version => 2.06+
2016-01-22 08:54 c_schmitz Status resolved => closed
2016-12-08 10:39 c_schmitz Category Tokens => Survey participants (Tokens)