View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
06300 | Bug reports | Survey participants (Tokens) | public | 2012-07-03 15:53 | 2012-07-18 16:33 |
Reporter | jnpope | Assigned To | DenisChenu | ||
Priority | normal | Severity | partial_block | ||
Status | closed | Resolution | fixed | ||
Product Version | 1.92+ | ||||
Fixed in Version | 1.92+ | ||||
Summary | 06300: Duplicate Token generation (Version 1.92+ Build 120425) | ||||
Description | Limesurvey appears to create/recycle token values after the first 32768. We have a survey with 82,000 participants and we have identical tokens showing up two or three times (after 32768 unique tokens the system starts re-using the same tokens). | ||||
Steps To Reproduce | Generate a participant list of 80,000 with tokens. Run SQL against the token table: | ||||
Additional Information | The only reference I could find was: | ||||
Tags | No tags attached. | ||||
Bug heat | 12 | ||||
Complete LimeSurvey version number (& build) | 120425 | ||||
I will donate to the project if issue is resolved | No | ||||
Browser | Firefox | ||||
Database type & version | SQL Server 2008 | ||||
Server OS (if known) | Win2008R2 Server | ||||
Webserver software & version (if known) | Apache 2 | ||||
PHP Version | 5 | ||||
has duplicate | 06301 | closed | DenisChenu | Tokens are duplicated if not generated in one batch |
here was my old issue, not sure if its related |
|
Some other test with "Dummy token" : set "Token length:" to one (it's just to see the bug) and launch (for 100 token), tou are sure to have same token. Denis |
|
Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=8896 |
|
Fix committed to Yii branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=8898 |
|
Fix again : http://git.io/x2GLVg |
|
Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=8900 |
|
Fix committed to Yii branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=8901 |
|
1.92+ version released. |
|
LimeSurvey: master 9ea95743 2012-07-04 11:21:27 Details Diff |
Fixed issue 06300 : Token can be duplicated under some condition Dev: use in_array function, and not !isset Dev: Fill the token table with existing token for dummytokens |
Affected Issues 06300 |
|
mod - admin/tokens.php | Diff File | ||
LimeSurvey: Yii 8e3bd1a2 2012-07-05 00:28:38 Details Diff |
Fixed issue 06300 : Token can be duplicated under some condition (For Yii : dummy token) Dev: Fill the token table with existing token for dummytokens |
Affected Issues 06300 |
|
mod - application/controllers/admin/tokens.php | Diff File | ||
mod - application/models/Tokens_dynamic.php | Diff File | ||
LimeSurvey: master 5afab728 2012-07-05 03:03:08 Details Diff |
Dev : Fixed 06301,06300 AND old #3058 Dev : remove in_array test, put true for $existingtokens[$newtoken] |
Affected Issues 06300, 06301 |
|
mod - admin/tokens.php | Diff File | ||
LimeSurvey: Yii f11f8e58 2012-07-05 03:34:31 Details Diff |
Dev : Fixed 06301,06300 AND old #3058 Dev : remove in_array test, put true for $existingtokens[$newtoken] Dev tested with 1 000 000 token too |
Affected Issues 06300, 06301 |
|
mod - application/controllers/admin/tokens.php | Diff File | ||
mod - application/models/Tokens_dynamic.php | Diff File |
Date Modified | Username | Field | Change |
---|---|---|---|
2012-07-03 15:53 | jnpope | New Issue | |
2012-07-03 16:03 | lowprofile | Note Added: 19598 | |
2012-07-03 17:42 | DenisChenu | Note Added: 19599 | |
2012-07-04 20:14 | DenisChenu | Assigned To | => DenisChenu |
2012-07-04 20:14 | DenisChenu | Status | new => assigned |
2012-07-04 20:21 | DenisChenu | Relationship added | has duplicate 06301 |
2012-07-04 20:27 | DenisChenu | Changeset attached | => LimeSurvey master 9ea95743 |
2012-07-04 20:27 | DenisChenu | Note Added: 19615 | |
2012-07-04 20:27 | DenisChenu | Resolution | open => fixed |
2012-07-05 09:31 | DenisChenu | Changeset attached | => LimeSurvey Yii 8e3bd1a2 |
2012-07-05 09:31 | DenisChenu | Note Added: 19616 | |
2012-07-05 09:31 | DenisChenu | Status | assigned => resolved |
2012-07-05 09:31 | DenisChenu | Fixed in Version | => 1.92+ |
2012-07-05 10:49 | DenisChenu | Note Added: 19619 | |
2012-07-05 12:05 | DenisChenu | Changeset attached | => LimeSurvey master 5afab728 |
2012-07-05 12:05 | DenisChenu | Note Added: 19621 | |
2012-07-05 12:37 | DenisChenu | Changeset attached | => LimeSurvey Yii f11f8e58 |
2012-07-05 12:37 | DenisChenu | Note Added: 19623 | |
2012-07-18 16:33 | c_schmitz | Note Added: 19785 | |
2012-07-18 16:33 | c_schmitz | Status | resolved => closed |
2016-12-08 10:39 | c_schmitz | Category | Tokens => Survey participants (Tokens) |