View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
06896 | Bug reports | Central participant database | public | 2012-11-19 12:22 | 2012-12-21 13:31 |
Reporter | reinier_post | Assigned To | mdekker | ||
Priority | high | Severity | partial_block | ||
Status | closed | Resolution | fixed | ||
Product Version | 2.00+ | ||||
Fixed in Version | 2.00+ | ||||
Summary | 06896: cannot add users to a fresh LimeSurvey installation | ||||
Description | Adding a user with the Add User button fails. | ||||
Steps To Reproduce | Install LimeSurvey (using the wizard). | ||||
Additional Information | The error message (set at application/controllers/admin/useraction.php.orig:166) is incorrect: User::model()->insertUser (called on line 104) is failing for a different reason, namely, the failure of beforeSave() defined at pplication/models/User.php:107 Making it return true doesn't fix the problem, however: the insertion will fail further on in CActiveRecord->insert on the line $table=$this->getMetaData()->tableSchema; This is where I gave up, as I've never seen this code before. | ||||
Tags | No tags attached. | ||||
Bug heat | 16 | ||||
Complete LimeSurvey version number (& build) | 121117 | ||||
I will donate to the project if issue is resolved | Yes | ||||
Browser | FireFox 16.0.2 | ||||
Database type & version | MySQL 5.0.45 | ||||
Server OS (if known) | Fedora 8 | ||||
Webserver software & version (if known) | Apache 2.2.9 | ||||
PHP Version | 5.2.6 | ||||
Could you try to add the following line at the end of the beforeSave()? return parent::beforeSave(); |
|
Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=10361 |
|
Fix committed to 2.1 branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=10363 |
|
@reinier_post: Are you on master? In my install also with mysql i get no error but a failure message on the email sending and the user is created just fine. Could you set debug in application/config.php to 2 and add the trace here? |
|
As people are waiting for the fix and it seems to work at least for some users I am closing this bug for now. Feel free to open a new ticket if after release later today the problem persists. |
|
I don't actually want to reopen this issue, just report it as fixed; |
|
Thanks for reporting back |
|
LimeSurvey: master 1bcd0f0a 2012-11-19 12:44 Details Diff |
Fixed 06896: cannot add users to a fresh LimeSurvey installation |
Affected Issues 06896 |
|
mod - application/models/User.php | Diff File | ||
LimeSurvey: 2.1 fbc4ed63 2012-11-19 13:14 Details Diff |
Fixed 06896: cannot add users to a fresh LimeSurvey installation |
Affected Issues 06896 |
|
mod - application/models/User.php | Diff File |
Date Modified | Username | Field | Change |
---|---|---|---|
2012-11-19 12:22 | reinier_post | New Issue | |
2012-11-19 12:22 | reinier_post | Status | new => assigned |
2012-11-19 12:22 | reinier_post | Assigned To | => jcleeland |
2012-11-19 12:38 | mdekker | Assigned To | jcleeland => mdekker |
2012-11-19 12:39 | mdekker | Note Added: 22314 | |
2012-11-19 12:42 | mdekker | Relationship added | related to 06886 |
2012-11-19 12:45 | mdekker | Changeset attached | => LimeSurvey master 1bcd0f0a |
2012-11-19 12:45 | mdekker | Note Added: 22315 | |
2012-11-19 12:45 | mdekker | Resolution | open => fixed |
2012-11-19 12:51 | c_schmitz | Relationship added | has duplicate 06897 |
2012-11-19 13:14 | mdekker | Changeset attached | => LimeSurvey 2.1 fbc4ed63 |
2012-11-19 13:14 | mdekker | Note Added: 22318 | |
2012-11-19 13:15 | mdekker | Status | assigned => resolved |
2012-11-19 13:15 | mdekker | Fixed in Version | => 2.00+ |
2012-11-19 16:14 | mdekker | Note Added: 22321 | |
2012-11-19 16:14 | mdekker | Status | resolved => feedback |
2012-11-19 16:14 | mdekker | Resolution | fixed => reopened |
2012-11-19 16:47 | c_schmitz | Relationship added | has duplicate 06902 |
2012-11-20 10:19 | mdekker | Note Added: 22325 | |
2012-11-20 10:19 | mdekker | Status | feedback => resolved |
2012-11-20 10:19 | mdekker | Resolution | reopened => fixed |
2012-11-20 10:20 | mdekker | Note Edited: 22325 | |
2012-11-20 13:19 | c_schmitz | Status | resolved => closed |
2012-12-20 18:31 | reinier_post | Note Added: 23320 | |
2012-12-20 18:31 | reinier_post | Status | closed => feedback |
2012-12-20 18:31 | reinier_post | Resolution | fixed => reopened |
2012-12-20 18:33 | reinier_post | Note Edited: 23320 | |
2012-12-21 13:31 | mdekker | Note Added: 23340 | |
2012-12-21 13:31 | mdekker | Status | feedback => closed |
2012-12-21 13:31 | mdekker | Resolution | reopened => fixed |