Project

General

Profile

Actions

Defect #15572

closed

incoming e-mail triggers error

Added by Anthony Mallet almost 11 years ago. Updated almost 11 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Email receiving
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Invalid
Affected version:

Description

I'm trying to setup incoming e-mails for redmine-2.4.1

However, every processed e-mail triggers this error:

RuntimeError (In order to use #url_for, you must include routing helpers explicitly. For instance, `include Rails.application.routes.url_helpers):
app/models/mailer.rb:42:in `issue_add'
app/models/mailer.rb:423:in `initialize'
app/models/mailer.rb:446:in `method_missing'
app/models/mailer.rb:53:in `deliver_issue_add'
app/models/issue.rb:821:in `each_notification'
app/models/mailer.rb:52:in `deliver_issue_add'
app/models/issue.rb:1514:in `send_notification'
app/models/issue.rb:163:in `create_or_update'
app/models/mail_handler.rb:196:in `receive_issue'
app/models/mail_handler.rb:174:in `dispatch_to_default'
app/models/mail_handler.rb:159:in `dispatch'
app/models/mail_handler.rb:134:in `receive'
app/models/mail_handler.rb:46:in `receive'
app/controllers/mail_handler_controller.rb:25:in `index'

Of course, I tried to add the "include" directive for the Mailer class in mailer.rb, but this did not change anything.

Any idea?

Actions #1

Updated by Anthony Mallet almost 11 years ago

  • Status changed from New to Resolved

Sorry, this was a nasty side effect of a plugin.
Tough to figure out, but -> Fixed.

Actions #2

Updated by Toshi MARUYAMA almost 11 years ago

  • Status changed from Resolved to Closed
  • Resolution set to Invalid

Thank you for your feedback.

Actions

Also available in: Atom PDF