I'm using redmine 1.2.1 without problem with your problem until I start to completely remove old users (not only desactivated... removed). Your plugin generate this kind of trace:
The problem is that redmine automatically assign the issues that were created by this user to the Anonymous one... which don't have any email address of course.
I simply corrected the issue with this simple patch:
diff --git a/lib/tasks/reminder_all.rake b/lib/tasks/reminder_all.rake
index 35e83d2..5ad0335 100644
--- a/lib/tasks/reminder_all.rake
+++ b/lib/tasks/reminder_all.rake
@@ -90,7 +90,9 @@ class Reminder_all < Mailer
end
end
if found==0 then
- over_due<<[author, "author", issues]
+ if !author.mail.nil? then
+ over_due<<[author, "author", issues]
+ end
end
end
issues_by.group_by(&:watchers).each do |watchers, issues|
Hi,
I'm using redmine 1.2.1 without problem with your problem until I start to completely remove old users (not only desactivated... removed). Your plugin generate this kind of trace:
The problem is that redmine automatically assign the issues that were created by this user to the Anonymous one... which don't have any email address of course.
I simply corrected the issue with this simple patch:
All the best, Jérôme