Project

General

Profile

Actions

Defect #11288

closed

acts_as_watchable - cannot reassign task to group

Added by # And almost 12 years ago. Updated almost 12 years ago.

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

0%

Estimated time:
Resolution:
Invalid
Affected version:

Description

To reproduce:
  1. Create new task assign to << Me >>
  2. Reassign created task to group

Call stack:
ActiveRecord::AssociationTypeMismatch (User(#70026181156120) expected, got Group(#70026141917680)):
lib/plugins/acts_as_watchable/lib/acts_as_watchable.rb:43:in `new'
lib/plugins/acts_as_watchable/lib/acts_as_watchable.rb:43:in `add_watcher'
lib/redmine/hook.rb:61:in `send'
lib/redmine/hook.rb:61:in `call_hook'
lib/redmine/hook.rb:61:in `each'
lib/redmine/hook.rb:61:in `call_hook'
lib/redmine/hook.rb:58:in `tap'
lib/redmine/hook.rb:58:in `call_hook'
app/models/issue.rb:708:in `save_issue_with_child_records'
app/models/issue.rb:696:in `save_issue_with_child_records'
app/controllers/issues_controller.rb:182:in `update'

I use the 2.0.2 Redmine version so set in affected version.

Actions

Also available in: Atom PDF