Project

General

Profile

Actions

Defect #27752

closed

NoMethodError while creating an issue

Added by Anonymous over 6 years ago. Updated 2 months ago.

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

0%

Estimated time:
Resolution:
Cant reproduce
Affected version:

Description

Hello

Could you please help me, because I have an error when I want to create a bug on Redmine :

  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'
Actions

Also available in: Atom PDF