View Issue Details

This issue affects 1 person(s).
 2
IDProjectCategoryView StatusLast Update
20587Bug reportsSurvey participants (Tokens)public2026-07-17 12:34
Reportertademo Assigned To 
PrioritynoneSeverityminor 
Status newResolutionopen 
Product Version6.17.x 
Summary20587: Error participant token while editing
Description

Error participant token while editing
Empty token value after editing survey participant

Steps To Reproduce

Steps to reproduce

open survey
click patritipants
click edit this survey participant
edit field Access code:
click save

Expected result

new token value

Actual result

empty value

TagsNo tags attached.
Bug heat2
Complete LimeSurvey version number (& build)LimeSurvey Community Edition Version 6.17.10+260622
I will donate to the project if issue is resolvedNo
Browser
Database type & versionmysql 8.2
Server OS (if known)
Webserver software & version (if known)
PHP Version8.2

Users monitoring this issue

There are no users monitoring this issue.

Activities

tademo

tademo

2026-07-06 13:58

reporter   ~85154

Will someone be able to handle my case? Is something wrong with my submissions?

tademo

tademo

2026-07-06 13:58

reporter   ~85155

Will someone be able to handle my case?
Is something wrong with my submissions?

tademo

tademo

2026-07-17 12:34

reporter   ~85209

I have applied a temporary fix for the participants token import/editing error.
In the file application/models/Token.php, I commented out lines 318 and 319 and added an entry.
My code now looks like this:

    // According to Yii doc : http://www.yiiframework.com/doc/api/1.1/CSecurityManager#generateRandomString-detail

$pattern = Yii::app()->getConfig("allowedcharacters_pattern_token");

return preg_replace($pattern, '', $token);

    return preg_replace('/[^A-Za-z0-9_]/', '', (string)$token);

I am awaiting the official fix.

Issue History

Date Modified Username Field Change
2026-07-01 10:13 tademo New Issue
2026-07-06 13:58 tademo Note Added: 85154
2026-07-06 13:58 tademo Bug heat 0 => 2
2026-07-06 13:58 tademo Note Added: 85155
2026-07-17 12:34 tademo Note Added: 85209