Actions
Defect #13376
closedwatcher notification issue
Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Email notifications
Target version:
-
Start date:
Due date:
% Done:
0%
Estimated time:
Resolution:
Fixed
Affected version:
Description
running on redmine 2.2.0.
Every time an issue is updated all the watchers are notified, regardless of their mail notification status. It looks like there is a problem in lib/plugins/acts_as_watchable/lib/acts_as_watchable.rb line 73 :
notified.reject! {|user| user.mail_notification == 'none'}
quick fix : change it to
notified.reject! {|user| (user.mail_notification == 'none' or user.mail_notification == 'only_assigned' or user.mail_notification == 'only_owner') }
If I recall correctly this problem has already been solved in redmine 1.1.2. Is there any test to check that it does not appear any more?
Regards
Related issues
Actions