Commit 11f7a139 authored by Jean-Philippe Lang's avatar Jean-Philippe Lang

Removed issue assignment validation to avoid validation failure when updating…

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
parent d10e9f11
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment