View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
05720 | Bug reports | Survey participants (Tokens) | public | 2012-01-30 11:41 | 2012-03-14 21:08 |
Reporter | Assigned To | c_schmitz | |||
Priority | urgent | Severity | partial_block | ||
Status | closed | Resolution | fixed | ||
Product Version | 2.00a1 | ||||
Fixed in Version | 2.00a2 | ||||
Summary | 05720: Automatic token generating don't work | ||||
Description | In methode Tokens_Dynamic::selectEmptyTokens and Tokens_Dynamic::updateToken the table can not be found. The method bindParameter seems to bind false and an exception occurs. i.e.: return Yii::app()->db->createCommand("SELECT tid FROM :tablename WHERE token IS NULL OR token=''")->bindParam(":tablename", $this->tableName(), PDO::PARAM_STR)->queryAll(); Found in r12139 of /application/models/Tokens_Dynamic.php | ||||
Steps To Reproduce | Try to generate random token for users with empty tokens in table | ||||
Additional Information | This solves the problem for me. | ||||
Tags | No tags attached. | ||||
Bug heat | 2 | ||||
Complete LimeSurvey version number (& build) | 2 | ||||
I will donate to the project if issue is resolved | No | ||||
Browser | |||||
Database type & version | Mysql | ||||
Server OS (if known) | mac os x | ||||
Webserver software & version (if known) | apache | ||||
PHP Version | 5.3 | ||||
LimeSurvey: Yii a32018ea 2012-01-30 09:05:00 Details Diff |
Fixed issue 05720: Automatic token generation not working Fixed issue: Not being able to login in Postgres git-svn-id: file:///Users/Shitiz/Downloads/lssvn/source/limesurvey_yii@12253 b72ed6b6-b9f8-46b5-92b4-906544132732 |
Affected Issues 05720 |
|
mod - application/controllers/InstallerController.php | Diff File | ||
mod - application/core/UserIdentity.php | Diff File | ||
mod - application/models/Tokens_dynamic.php | Diff File |
Date Modified | Username | Field | Change |
---|---|---|---|
2012-01-30 11:41 |
|
New Issue | |
2012-01-30 18:04 | c_schmitz | Note Added: 17061 | |
2012-01-30 18:04 | c_schmitz | Status | new => resolved |
2012-01-30 18:04 | c_schmitz | Fixed in Version | => 2.00a2 |
2012-01-30 18:04 | c_schmitz | Resolution | open => fixed |
2012-01-30 18:04 | c_schmitz | Assigned To | => c_schmitz |
2012-03-11 16:32 | c_schmitz | Note Added: 17863 | |
2012-03-11 16:32 | c_schmitz | Status | resolved => closed |
2012-03-14 21:08 | c_schmitz | Changeset attached | => Import 2012-03-09 13:30:34 Yii a32018ea |
2016-12-08 10:39 | c_schmitz | Category | Tokens => Survey participants (Tokens) |