Skip to content
New issue

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

send_notification aborted (different error) #7

Open
stf675 opened this issue Jul 11, 2013 · 8 comments
Open

send_notification aborted (different error) #7

stf675 opened this issue Jul 11, 2013 · 8 comments

Comments

@stf675
Copy link

stf675 commented Jul 11, 2013

I can configure and save plugin settings, but when I run

bundle exec rake redmine:reminder_plugin:send_notifications RAILS_ENV=production --trace

I end up with:

'''** Invoke redmine:reminder_plugin:send_notifications (first_time)
** Invoke environment (first_time)
** Execute environment
** Execute redmine:reminder_plugin:send_notifications
rake aborted!
undefined method reminder_notification_array' for #<Group:0x3189108> C:/BitNami/redmine/ruby/lib/ruby/gems/1.9.1/gems/activemodel-3.2.9/lib/active_model/attribute_methods.rb:407:inmethod_missing'
C:/BitNami/redmine/ruby/lib/ruby/gems/1.9.1/gems/activerecord-3.2.9/lib/active_record/attribute_methods.rb:149:in method_missing' C:/BitNami/redmine/apps/redmine/htdocs/plugins/due_date_reminder/lib/reminder/issue_patch.rb:18:inremind?'
C:/BitNami/redmine/apps/redmine/htdocs/plugins/due_date_reminder/app/models/reminder_mailer.rb:42:in block in find_issues' C:/BitNami/redmine/apps/redmine/htdocs/plugins/due_date_reminder/app/models/reminder_mailer.rb:42:inreject!'
C:/BitNami/redmine/apps/redmine/htdocs/plugins/due_date_reminder/app/models/reminder_mailer.rb:42:in find_issues' C:/BitNami/redmine/apps/redmine/htdocs/plugins/due_date_reminder/app/models/reminder_mailer.rb:15:indue_date_notifications'
C:/BitNami/redmine/apps/redmine/htdocs/plugins/due_date_reminder/lib/tasks/reminder.rake:5:in block (4 levels) in <top (required)>' C:/BitNami/redmine/apps/redmine/htdocs/app/models/mailer.rb:377:inwith_synched_deliveries'
C:/BitNami/redmine/apps/redmine/htdocs/plugins/due_date_reminder/lib/tasks/reminder.rake:4:in block (3 levels) in <top (required)>' C:/BitNami/redmine/ruby/lib/ruby/gems/1.9.1/gems/rake-0.9.2.2/lib/rake/task.rb:205:incall'
C:/BitNami/redmine/ruby/lib/ruby/gems/1.9.1/gems/rake-0.9.2.2/lib/rake/task.rb:205:in block in execute' C:/BitNami/redmine/ruby/lib/ruby/gems/1.9.1/gems/rake-0.9.2.2/lib/rake/task.rb:200:ineach'
C:/BitNami/redmine/ruby/lib/ruby/gems/1.9.1/gems/rake-0.9.2.2/lib/rake/task.rb:200:in execute' C:/BitNami/redmine/ruby/lib/ruby/gems/1.9.1/gems/rake-0.9.2.2/lib/rake/task.rb:158:inblock in invoke_with_call_chain'
C:/BitNami/redmine/ruby/lib/ruby/1.9.1/monitor.rb:211:in mon_synchronize'C:/BitNami/redmine/ruby/lib/ruby/gems/1.9.1/gems/rake-0.9.2.2/lib/rake/task.rb:151:ininvoke_with_call_chain'
C:/BitNami/redmine/ruby/lib/ruby/gems/1.9.1/gems/rake-0.9.2.2/lib/rake/task.rb:144:in invoke' C:/BitNami/redmine/ruby/lib/ruby/gems/1.9.1/gems/rake-0.9.2.2/lib/rake/application.rb:116:ininvoke_task'
C:/BitNami/redmine/ruby/lib/ruby/gems/1.9.1/gems/rake-0.9.2.2/lib/rake/application.rb:94:in block (2 levels) in top_level' C:/BitNami/redmine/ruby/lib/ruby/gems/1.9.1/gems/rake-0.9.2.2/lib/rake/application.rb:94:ineach'
C:/BitNami/redmine/ruby/lib/ruby/gems/1.9.1/gems/rake-0.9.2.2/lib/rake/application.rb:94:in block in top_level' C:/BitNami/redmine/ruby/lib/ruby/gems/1.9.1/gems/rake-0.9.2.2/lib/rake/application.rb:133:instandard_exception_handling'
C:/BitNami/redmine/ruby/lib/ruby/gems/1.9.1/gems/rake-0.9.2.2/lib/rake/application.rb:88:in top_level' C:/BitNami/redmine/ruby/lib/ruby/gems/1.9.1/gems/rake-0.9.2.2/lib/rake/application.rb:66:inblock in run'
C:/BitNami/redmine/ruby/lib/ruby/gems/1.9.1/gems/rake-0.9.2.2/lib/rake/application.rb:133:in standard_exception_handling' C:/BitNami/redmine/ruby/lib/ruby/gems/1.9.1/gems/rake-0.9.2.2/lib/rake/application.rb:63:inrun'
C:/BitNami/redmine/ruby/lib/ruby/gems/1.9.1/gems/rake-0.9.2.2/bin/rake:33:in <top (required)>' C:/BitNami/redmine/ruby/bin/rake:23:inload'
C:/BitNami/redmine/ruby/bin/rake:23:in `

'
Tasks: TOP => redmine:reminder_plugin:send_notifications'''

What do i miss?

@stf675
Copy link
Author

stf675 commented Jul 23, 2013

upgraded to RM 2.3.2

same error:

rake aborted!
undefined method reminder_notification_array' for #Group:0xxxxxxxx

do I missing something on post install configuration?

what do 1,3,5 mean in configuration: 1st, 2nd, 5th day of the week or 1, 3, 5 days left?

are categories required, and do I need to apply it to all issues?

please advise.

@Enkil
Copy link
Owner

Enkil commented Jul 23, 2013

1,3,5, etc - means for the number of days left to end of task and in this days plugin will send notification via email

about error - did you designate group to task, not a user?

@stf675
Copy link
Author

stf675 commented Jul 23, 2013

I changed due date to 1 day ahead (thought it was supposed to be overdue), task assigned to me as single user, no watchers.

same error.

I was using existing task for a test

@claudiomoscoso
Copy link

I saw that the error occurs when I assign issues to a group. someone has a solution for this error?

@jeangnc
Copy link

jeangnc commented Oct 11, 2013

same error here

@jeangnc
Copy link

jeangnc commented Oct 15, 2013

anyone have a solution?

@cuggen
Copy link

cuggen commented Nov 22, 2013

I have this same issue. It is definitely when a group is assigned to an issue with a due date. Is there a work around?

@pydubreucq
Copy link

+1
I have assigned a task to a group too.
Bye

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants