View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 07940 | Bug reports | public | 2013-06-20 13:04 | 2026-11-19 22:22 | |
| Reporter | mabellaneda | Assigned To | |||
| Priority | normal | Severity | minor | ||
| Status | closed | Resolution | fixed | ||
| Summary | 07940: Token code can be repeated in a survey. | ||||
| Description | A token can be repeated in a survey by editing a token's entry in the survey's token's table or importing token's entries from a CSV file. | ||||
| Steps To Reproduce | By modifying a token entry:
By importing from a CSV file:
| ||||
| Tags | No tags attached. | ||||
| Attached Files | |||||
| Bug heat | 6 | ||||
| Complete LimeSurvey version number (& build) | |||||
| I will donate to the project if issue is resolved | |||||
| Browser | |||||
| Database type & version | |||||
| Server OS (if known) | |||||
| Webserver software & version (if known) | |||||
| PHP Version | |||||
| Git branch / Pull Request URL | |||||
|
Token is tested only when use included LS generation. |
|
|
For 2.05 we might want to add a unique constraint to the table definition? |
|
|
sammousa : Can not directly: Unique if not emty ;) |
|
|
And it's an old bug .... maybe some user use this bug like a feature (don't know how but .... never say never ...) Think it's best to have a tools to find and correct with 2 option : remove all double, or remove second double, or put an alert link. Maybe in Plugin ;) |
|
|
In LimeSurvey 7 access codes must be unique within a survey: the participant model validates uniqueness when adding or editing a participant, and the CSV import skips and reports rows whose access code already exists. Closing as fixed. |
|
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2013-06-20 13:04 | mabellaneda | New Issue | |
| 2013-06-20 13:04 | mabellaneda | File Added: LimeSurvey_tokensBug.JPG | |
| 2013-06-24 18:08 | DenisChenu | Note Added: 25628 | |
| 2013-06-24 18:08 | DenisChenu | Note Edited: 25628 | |
| 2013-06-26 12:57 | sammousa | Note Added: 25652 | |
| 2013-06-26 13:14 | DenisChenu | Note Added: 25654 | |
| 2013-06-26 19:56 | DenisChenu | Note Added: 25671 | |
| 2026-11-19 22:22 | c_schmitz | Note Added: 87697 | |
| 2026-11-19 22:22 | c_schmitz | Bug heat | 4 => 6 |
| 2026-11-19 22:22 | c_schmitz | Status | new => closed |
| 2026-11-19 22:22 | c_schmitz | Resolution | open => fixed |
| 2026-11-20 10:33 | c_schmitz | Category | Tokens => (No Category) |