We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
We have several groups that will be assigned to issues with due dates assigned to them. When the rake runs we get the following error:
rake aborted! undefined method `reminder_notification_array' for #Group:0x7369230
Is there a work around or a patch for this?
Thanks
The text was updated successfully, but these errors were encountered:
+1. Same error. @Enkil can you fix this? Your plugin is exactly what I need!
Sorry, something went wrong.
you cann avoid the issue with the following patch:
diff --git a/app/models/reminder_mailer.rb b/app/models/reminder_mailer.rb index 8a8b529..bebe5d8 100644 --- a/app/models/reminder_mailer.rb +++ b/app/models/reminder_mailer.rb @@ -43,7 +43,8 @@ class ReminderMailer < Mailer scope = Issue.open.scoped(:conditions => ["#{Issue.table_name}.assigned_to_id IS NOT NULL" + " AND #{Project.table_name}.status = #{Project::STATUS_ACTIVE}" + " AND #{Issue.table_name}.due_date IS NOT NULL" + - " AND #{User.table_name}.status = #{User::STATUS_ACTIVE}"] + " AND #{User.table_name}.status = #{User::STATUS_ACTIVE}" + + " AND #{User.table_name}.type = 'User'"] ) issues = scope.all(:include => [:status, :assigned_to, :project, :tracker]) issues.reject! { |issue| not (issue.remind? or issue.overdue?) } @@ -58,4 +59,4 @@ class ReminderMailer < Mailer data[issue.assigned_to][issue.project] << issue end -end \ No newline at end of file +end
it will disable notifications for issues witch are assigned to a Group, But the other Notificatons are working again.
If I have some time I will try to fix the wohle issue, but I am not a ruby programmer.
No branches or pull requests
We have several groups that will be assigned to issues with due dates assigned to them. When the rake runs we get the following error:
rake aborted!
undefined method `reminder_notification_array' for #Group:0x7369230
Is there a work around or a patch for this?
Thanks
The text was updated successfully, but these errors were encountered: