View Issue Details

This issue affects 1 person(s).
 2
IDProjectCategoryView StatusLast Update
06912Bug reportsOtherpublic2012-11-21 09:39
Reportervaldomir Assigned Toc_schmitz  
PriorityhighSeveritypartial_block 
Status closedResolutionduplicate 
Product Version2.00+ 
Summary06912: add user at user control always fails
Description

When i try to add a user using "Manage survey administrators" always return "The user name already exists" and no user is inserted.

I debugged the process and it fails at:

CActiveRecord.php, line 1008

At this line, it do:

if($this->beforeSave()) and it always return 'false', then the UserAction.php, function adduser executes line 164 that returns this message error.

In addition to fix this error, it think it will be nice chang this error message to other different than "user already exists" (in fact, the error is a db error)

Steps To Reproduce

Go to Manage survey administrators and add an new user

TagsNo tags attached.
Bug heat2
Complete LimeSurvey version number (& build)121117
I will donate to the project if issue is resolvedNo
Browser
Database type & versionMysql 5.5.24
Server OS (if known)Windows
Webserver software & version (if known)Apache 2.2.8
PHP Version5.2.4
Git branch / Pull Request URL

Users monitoring this issue

There are no users monitoring this issue.

Activities

c_schmitz

c_schmitz

2012-11-21 09:39

administrator   ~22358

Please update to the latest version where this is fixed.

Issue History

Date Modified Username Field Change
2012-11-21 09:38 valdomir New Issue
2012-11-21 09:39 c_schmitz Note Added: 22358
2012-11-21 09:39 c_schmitz Status new => closed
2012-11-21 09:39 c_schmitz Assigned To => c_schmitz
2012-11-21 09:39 c_schmitz Resolution open => duplicate