Project

General

Profile

Actions

Defect #18081

closed

Create a new group - 500 Internal Server Error

Added by Roger tjmg over 9 years ago. Updated over 9 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Invalid
Affected version:

Description

When i try to create a new group, the message 500 Internal Server Error appears.

Environment:
Redmine version 2.3.0.stable.11744
Ruby version 1.8.7 (x86_64-linux)
Rails version 3.2.13
Environment production
Database adapter MySQL
Redmine plugins:
redmine_loader 0.0.12
redmine_testlinklink 1.0.0

Started POST "/groups" for 10.0.1.33 at Wed Sep 17 10:53:26 -0300 2014
Processing by GroupsController#create as HTML
Parameters: {"group"=>{"name"=>"TEST"}, "authenticity_token"=>"cGCTAk8JBMs+ChiUrQIykrT4hpUa78bh554Ndw9qdYc=", "utf8"=>"✓", "commit"=>"Criar"}
Current user: admin (id=1)
Completed 500 Internal Server Error in 29ms

ActiveRecord::RecordNotUnique (Mysql::Error: Duplicate entry '' for key 'uclogin': INSERT INTO `users` (`admin`, `auth_source_id`, `created_on`, `firstname`, `hashed_password`, `identity_url`, `language`, `last_login_on`, `lastname`, `login`, `mail`, `mail_notification`, `salt`, `status`, `type`, `updated_on`) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)):
app/controllers/groups_controller.rb:52:in `create'
app/controllers/groups_controller.rb:51:in `create'

Actions #1

Updated by Jean-Philippe Lang over 9 years ago

  • Resolution set to Cant reproduce

Please try without plugins.

Actions #2

Updated by Toshi MARUYAMA over 9 years ago

  • Status changed from New to Needs feedback
Actions #3

Updated by Roger tjmg over 9 years ago

Tnx for the answer Jean-Philippe Lang

Server updated to 2.5.2
All plugins removed, server restarted.

The error still appears:

Started POST "/groups" for 10.0.1.33 at Tue Oct 14 10:06:26 -0300 2014
Processing by GroupsController#create as HTML
Parameters: {"utf8"=>"✓", "group"=>{"name"=>"test"}, "continue"=>"Criar e continuar", "authenticity_token"=>"2hvbBEX+pY/DpaMVLVxhY5Vd25LcPcqA8hd9aqadb6A="}
Current user: admin (id=1)
Completed 500 Internal Server Error in 19.6ms

ActiveRecord::RecordNotUnique (Mysql::Error: Duplicate entry '' for key 'uclogin': INSERT INTO `users` (`admin`, `auth_source_id`, `created_on`, `firstname`, `hashed_password`, `identity_url`, `language`, `last_login_on`, `lastname`, `login`, `mail`, `mail_notification`, `must_change_passwd`, `salt`, `status`, `type`, `updated_on`) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)):
app/controllers/groups_controller.rb:52:in `create'
app/controllers/groups_controller.rb:51:in `create'

Environment:
Redmine version 2.5.2.stable
Ruby version 1.8.7-p352 (2011-06-30) [x86_64-linux]
Rails version 3.2.19
Environment production
Database adapter MySQL
SCM:
Subversion 1.6.11
Git 1.7.1
Filesystem
Redmine plugins:
no plugin installed

Actions #4

Updated by Jean-Philippe Lang over 9 years ago

  • Status changed from Needs feedback to Closed
  • Resolution changed from Cant reproduce to Invalid

There's no unique index "uclogin" in Redmine core. Please revert your changes made to the database.

Actions

Also available in: Atom PDF