View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
06117 | Bug reports | Survey participants (Tokens) | public | 2012-05-18 18:32 | 2012-05-28 15:12 |
Reporter | Fred | Assigned To | DenisChenu | ||
Priority | normal | Severity | minor | ||
Status | closed | Resolution | fixed | ||
Product Version | 2.00RC1 | ||||
Fixed in Version | 2.00RC2 | ||||
Summary | 06117: Crash when generating tokens for items token list that have not been issued one | ||||
Description | When you add participants to a survey or import a CSV, the token value is initially empty and you need to either manually edit it or use the generate tokens function. Generate tokens is causing a crash in 2.0RC1 I think this was happening previously and was fixed? An alternative solution would be to have the token value automatically created when the participant is added to the survey. | ||||
Steps To Reproduce |
| ||||
Additional Information | CDbException CDbCommand failed to execute the SQL statement: SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''{{tokens_61265}}' SET token= 'ppqscsy9wbi56h9' WHERE tid='3'' at line 1. The SQL statement executed was: UPDATE :tablename SET token= :newtoken WHERE tid=:tid /Users/fred/Dropbox/MAMP/htdocs/LimeSurvey/framework/db/CDbCommand.php(354) 342 return $n; | ||||
Tags | No tags attached. | ||||
Bug heat | 4 | ||||
Complete LimeSurvey version number (& build) | 000000 | ||||
I will donate to the project if issue is resolved | No | ||||
Browser | Chrome, Safari | ||||
Database type & version | MySQL 5.5.9 | ||||
Server OS (if known) | Mac OS Lion | ||||
Webserver software & version (if known) | Apache 2.2.17 | ||||
PHP Version | 5.3.6 | ||||
Fix committed to Yii branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=8522 |
|
Version 2.00RC2 released. |
|
LimeSurvey: Yii 1b80aec5 2012-05-18 16:00:02 Details Diff |
Fixed issue 06117 : Crash when generating tokens for items token list that have not been issued one Dev: no tablename in PDO param http://php.net/manual/book.pdo.php#69304 |
Affected Issues 06117 |
|
mod - application/models/Tokens_dynamic.php | Diff File |
Date Modified | Username | Field | Change |
---|---|---|---|
2012-05-18 18:32 | Fred | New Issue | |
2012-05-19 01:01 | DenisChenu | Changeset attached | => LimeSurvey Yii 1b80aec5 |
2012-05-19 01:01 | DenisChenu | Note Added: 18855 | |
2012-05-19 01:01 | DenisChenu | Assigned To | => DenisChenu |
2012-05-19 01:01 | DenisChenu | Resolution | open => fixed |
2012-05-19 01:01 | DenisChenu | Status | new => resolved |
2012-05-19 01:01 | DenisChenu | Fixed in Version | => 2.00RC2 |
2012-05-28 15:12 | c_schmitz | Note Added: 18948 | |
2012-05-28 15:12 | c_schmitz | Status | resolved => closed |
2016-12-08 10:39 | c_schmitz | Category | Tokens => Survey participants (Tokens) |