Project

General

Profile

Cannot create or update an issue (RuntimeError : Delivery method cannot be nil)

Added by Alice Etchegaray almost 10 years ago

Hi,

I have a problem : I can't create or update issues..
Here is my log file :

Started POST "/redmine/projects/prise-de-commande-ftth/issues" for 127.0.0.1 at 2014-07-16 08:37:56 +0200
Processing by IssuesController#create as HTML
Parameters: {"utf8"=>"✓", "authenticity_token"=>"atAwBDffrkNU15eZHWWO+7sJnva9ImzlSFSxhcUz7ow=", "issue"=>{"is_private"=>"0", "tracker_id"=>"2", "subject"=>"test", "description"=>"", "status_id"=>"1", "priority_id"=>"2", "assigned_to_id"=>"", "parent_issue_id"=>"", "start_date"=>"2014-07-16", "due_date"=>"", "estimated_hours"=>"", "custom_field_values"=>{"21"=>"Agile J2EE", "2"=>"", "3"=>""}}, "commit"=>"Créer", "project_id"=>"prise-de-commande-ftth"}
Current user: admin (id=1)
Completed 500 Internal Server Error in 703.1ms

RuntimeError (Delivery method cannot be nil):
app/models/mailer.rb:410:in `mail'
app/models/mailer.rb:44:in `issue_add'
app/models/mailer.rb:423:in `initialize'
app/models/mailer.rb:446:in `method_missing'
app/models/mailer.rb:52:in `block in deliver_issue_add'
app/models/issue.rb:826:in `each_notification'
app/models/mailer.rb:51:in `deliver_issue_add'
app/models/issue.rb:1519:in `send_notification'
app/models/issue.rb:165:in `create_or_update'
app/controllers/issues_controller.rb:146:in `create'

I remove the useless plugins but the error is still here..
Can you help me please ?

Cheers,


Replies (2)

RE: Cannot create or update an issue (RuntimeError : Delivery method cannot be nil) - Added by Martin Denizet (redmine.org team member) almost 10 years ago

Your email configuration seems to be incorrect (Delivery method cannot be nil).
Double check you configuration and keep in mind that YAML in indentation-sensitive.
You can use an editor such as NotePad++, it has an option to show all characters. Press the pilcrow(¶) in the top toolbar.
Cheers,

    (1-2/2)