Defect #7001

adding users to an existing group yeilds an error

Added by Jordan Lederman about 7 years ago. Updated about 7 years ago.

Status:ClosedStart date:2010-11-29
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:-
Target version:-
Resolution:Duplicate Affected version:

Description

Adding a member to a group via visting the groups user tab fails. No error message is shown via the webui, and error is logged in the server log. The error message is:

ActiveRecord::RecordInvalid (Validation failed: Project can't be blank):
app/models/group.rb:38:in `user_added'
app/models/group.rb:33:in `user_added'
app/controllers/groups_controller.rb:112:in `add_users'

Here is the path I took to reach this screen/error.

Administration -> Groups
Selecting a group
Choose Users Tab
Click check box next to users
Click add

RAILS_ENV="production" ./script/about
About your application's environment
Ruby version 1.8.6 (x86_64-linux)
RubyGems version 1.3.7
Rack version 1.0
Rails version 2.3.5
Active Record version 2.3.5
Active Resource version 2.3.5
Action Mailer version 2.3.5
Active Support version 2.3.5
Edge Rails revision unknown
Application root /usr/local/redmine
Environment production
Database adapter mysql
Database schema version 20100819172912

About your Redmine plugins
Redmine Stealth plugin 0.1.0
Favourites plugin 0.0.1
Stuff To Do Plugin 0.0.2
Watcher Sellection by Role 0.0.1
Issue Due Date 0.1.0
Redmine Question plugin 0.3.0
Redmine Drafts plugin 0.1.1
Redmine Charts 0.1.0
Redmine Graphs plugin 0.1.0
Redmine Whining plugin 0.0.4


Related issues

Duplicates Redmine - Defect #6457: Edit User group problem Closed 2010-09-21

History

#1 Updated by Jean-Philippe Lang about 7 years ago

  • Status changed from New to Closed
  • Resolution set to Duplicate

Same as #6457.

Also available in: Atom PDF