View Issue Details

This bug affects 1 person(s).
 0
IDProjectCategoryView StatusLast Update
19959Bug reportsSurvey participants (Tokens)public2025-02-14 07:38
ReporterTonisOrmisson Assigned ToTonisOrmisson  
PrioritynoneSeverityminor 
Status ready for testingResolutionopen 
Product Version6.6.x 
Summary19959: token->token will not allow standard uuid format tokens (removes dashes)
Description

UUID standard format contains dashes, example: f3f2e850-b5d4-11ef-ac7e-96584d5248b2

Token model validation strips the dashes from the original input and saves the model with the altered (dashes removed).

UUID with dashes is the standard representation, see:
https://www.rfc-editor.org/rfc/rfc4122#page-4

token->token not accepting stantard uuid format is a a bug

Steps To Reproduce

Steps to reproduce

take any survey with tokens, add a token with token->token value as uuid, eg "f3f2e850-b5d4-11ef-ac7e-96584d5248b2"

Expected result

token is saved, and token->token value is unchanged "f3f2e850-b5d4-11ef-ac7e-96584d5248b2"

Actual result

token is changed with dashes removed "f3f2e850b5d411efac7e-96584d5248b2"

(will do a pr)

TagsNo tags attached.
Bug heat0
Complete LimeSurvey version number (& build)6.10.3+250203
I will donate to the project if issue is resolvedNo
Browser
Database type & versionn/a
Server OS (if known)
Webserver software & version (if known)
PHP Versionn/a

Users monitoring this issue

There are no users monitoring this issue.

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2025-02-12 11:45 TonisOrmisson New Issue
2025-02-12 11:45 TonisOrmisson Assigned To => TonisOrmisson
2025-02-12 11:45 TonisOrmisson Status new => assigned
2025-02-14 07:38 TonisOrmisson Status assigned => ready for testing