Removed issue assignment validation to avoid validation failure when updating the issue and if the assignee is no longer a member of the project.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@848 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
d10e9f1157
commit
11f7a13971
|
@ -111,7 +111,6 @@ class IssuesController < ApplicationController
|
|||
end
|
||||
end
|
||||
show
|
||||
render :action => 'show'
|
||||
end
|
||||
|
||||
def change_status
|
||||
|
|
|
@ -71,11 +71,6 @@ class Issue < ActiveRecord::Base
|
|||
if start_date && soonest_start && start_date < soonest_start
|
||||
errors.add :start_date, :activerecord_error_invalid
|
||||
end
|
||||
|
||||
# validate assignment
|
||||
if assigned_to && !assignable_users.include?(assigned_to)
|
||||
errors.add :assigned_to_id, :activerecord_error_invalid
|
||||
end
|
||||
end
|
||||
|
||||
def before_create
|
||||
|
|
Loading…
Reference in New Issue