View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 15859 | Bug reports | Import/Export | public | 2020-02-13 08:18 | 2020-02-17 11:22 |
| Reporter | TonisOrmisson | Assigned To | TonisOrmisson | ||
| Priority | none | Severity | minor | ||
| Status | closed | Resolution | fixed | ||
| Product Version | 4.1.2 | ||||
| Target Version | 4.0.x | ||||
| Summary | 15859: Token can be truncated in SPSS export | ||||
| Description | Token length is wrong. Or can be wrong in many cases. Token column in survey is set to 'string(36)'. Tokens can be imported or created via API in a longer format than set in the survey settings. So We are ending up truncated tokens in SPSS file. The survey->tokenlength should be also used while creating the token field in DB (and API/import length check) OR the SPSS should generate a field allowing max length that can come from DB (32). | ||||
| Tags | No tags attached. | ||||
| Bug heat | 6 | ||||
| Complete LimeSurvey version number (& build) | Version 4.1.4 | ||||
| I will donate to the project if issue is resolved | No | ||||
| Browser | |||||
| Database type & version | NA | ||||
| Server OS (if known) | |||||
| Webserver software & version (if known) | |||||
| PHP Version | NA | ||||
|
Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=29557 |
|
|
Thanks! |
|
|
Fixed in Release 4.1.5+200217 |
|
|
LimeSurvey: master 03840d34 2020-02-13 10:03 Committer: GitHub Details Diff |
Fixed issue 15859: Token can be truncated in SPSS export (#1387) |
Affected Issues 15859 |
|
| mod - application/helpers/admin/activate_helper.php | Diff File | ||
| mod - application/helpers/export_helper.php | Diff File | ||
| mod - application/models/SurveyActivator.php | Diff File | ||
| mod - application/models/Token.php | Diff File | ||
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2020-02-13 08:18 | TonisOrmisson | New Issue | |
| 2020-02-13 08:18 | TonisOrmisson | Status | new => assigned |
| 2020-02-13 08:18 | TonisOrmisson | Assigned To | => TonisOrmisson |
| 2020-02-13 08:22 | TonisOrmisson | Status | assigned => ready for code review |
| 2020-02-13 08:22 | TonisOrmisson | Note Added: 55932 | |
| 2020-02-13 09:03 | TonisOrmisson | Changeset attached | => LimeSurvey master 03840d34 |
| 2020-02-13 09:03 | TonisOrmisson | Note Added: 55933 | |
| 2020-02-13 09:03 | TonisOrmisson | Resolution | open => fixed |
| 2020-02-13 11:53 | ollehar | Status | ready for code review => resolved |
| 2020-02-13 11:53 | ollehar | Note Added: 55941 | |
| 2020-02-17 11:22 | lime_release_bot | Note Added: 56048 | |
| 2020-02-17 11:22 | lime_release_bot | Status | resolved => closed |