Project

General

Profile

Defect #1081

Exception when sending notification for Wiki Comments

Added by Brian Chiu over 7 years ago.

Status:
新規(New)
Priority:
通常(Normal)
Assignee:
-
Category:
-
Target version:
-
Start date:
07/10/2012
Due date:
% Done:

0%

Estimated time:

Description

具体的な再現方法
What steps will reproduce the problem?

  1. Enable notification for Wiki Comments (settings > email notifications > wiki comment added)
  2. Reply to a comment in a wiki entry

期待する結果と実際の結果
What is the expected output? What do you see instead?

Expected:

  • Wiki page with newly added comment should be shown
  • User should receive email notification

Actual result:

  • Error 500 page is shown.
  • No email is received.
  • When refreshing the page, the new comment can be seen

下記コマンドの実行結果を教えてください。
Please give us a result of following command.

% ruby script/about

Environment:
Redmine version 2.0.3.stable
Ruby version 1.8.7 (x86_64-linux)
Rails version 3.2.6
Environment production
Database adapter MySQL
Redmine plugins:
redmine_lightbox 0.0.1
redmine_wiki_extensions 0.5.0

Please provide any additional information below.

Error log from server:

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

Also available in: Atom PDF