Defect #13376

watcher notification issue

Added by Nicola Jean over 8 years ago. Updated over 4 years ago.

Status:ClosedStart date:
Priority:NormalDue date:
Assignee:-% Done:


Category:Email notifications
Target version:-
Resolution:Fixed Affected version:2.2.2


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?


Related issues

Related to Redmine - Patch #24177: Change translation for label_user_mail_option_only_(assig... Closed


#1 Updated by Go MAEDA over 4 years ago

  • Related to Patch #24177: Change translation for label_user_mail_option_only_(assigned|owner) added

#2 Updated by Go MAEDA over 4 years ago

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

This is not a defect but expected behavior. The current caption of labels are misleading.

They will be changed from "Only for things I am (assigned to|the owner of)" to "Only for things I watch or I am (assigned to|the owner of)" in upcoming Redmine 3.4.0 (#24177).

#3 Updated by Toshi MARUYAMA over 4 years ago

  • Description updated (diff)

Also available in: Atom PDF