Mail notify on "Adding wiki comment" dont work (redmine 2.2)

Issue #24 resolved
Nunzio Falcone
created an issue
  • As admin I enable mail notify on "wiki comment added"
  • as developer I add commento to one wiki: when I clic on Submit an "redmine 500 error appears"
  • production log shows:
Started POST "/projects/t01/wiki_extensions/add_comment" for at Mon Jan 28 10:37:34 
+0000 2013
Processing by WikiExtensionsController#add_comment as HTML
  Parameters: {"authenticity_token"=>"uP9Klm0vtusiWo6DPznhVXBUtY0THiygKo06OQGEWnI=", "comment"=>"c
ommento1", "commit"=>"Aggiungi un commento", "id"=>"t01", "wiki_page_id"=>"2"}
  Current user: dev01 (id=3)
DEPRECATION WARNING: Mailer.deliver_wiki_commented(*args) is deprecated. Use Mailer.wiki_commented
(*args).deliver instead. (called from method_missing at /var/www/redmine/app/models/mailer.rb:437)
Completed 500 Internal Server Error in 47ms

NoMethodError (undefined method `recipients' for #<WikiExtensionsCommentsMailer:0xb9a5618>):
  app/models/mailer.rb:427:in `initialize'
  app/models/mailer.rb:440:in `method_missing'
  app/models/mailer.rb:438:in `send'
  app/models/mailer.rb:438:in `method_missing'

accordingly with this error non notify email is sent however if I return on wiki the comment is added

Comments (1)

  1. Log in to comment