Defect #27752
Updated by Go MAEDA over 5 years ago
Hello Could you please help me, because I have an error when I want to create a bug on Redmine : <pre> CACHE (0.0ms) SELECT 1 AS one FROM `attachments` WHERE `attachments`.`container_id` = 488 AND `attachments`.`container_type` = 'Issue' LIMIT 1 [["container_id", 488], ["container_type", "Issue"]] Rendered mailer/_issue.html.erb (4.4ms) Rendered mailer/issue_add.html.erb within layouts/mailer (6.9ms) Setting Load (1.0ms) SELECT `settings`.* FROM `settings` WHERE `settings`.`name` = 'cache_formatted_text' ORDER BY `settings`.`id` DESC LIMIT 1 (2.6ms) ROLLBACK Completed 500 Internal Server Error in 635ms (ActiveRecord: 36.5ms) NoMethodError (undefined method `error' for true:TrueClass): app/models/mailer.rb:497:in `initialize' config/initializers/10-patches.rb:163:in `deliver' app/models/mailer.rb:64:in `block in deliver_issue_add' app/models/issue.rb:1058:in `each_notification' app/models/mailer.rb:63:in `deliver_issue_add' app/models/issue.rb:1845:in `send_notification' app/models/issue.rb:210:in `create_or_update' app/controllers/issues_controller.rb:129:in `create' lib/redmine/sudo_mode.rb:63:in `sudo_mode' </pre>