Patch #28024

Fix typo in error message in mailer.rb

Added by Marius Žilėnas about 1 month ago. Updated 27 days ago.

Status:ClosedStart date:
Priority:NormalDue date:
Assignee:-% Done:


Category:Code cleanup/refactoring
Target version:4.0.0


I saw small thing, mistype?

Index: mailer.rb
--- mailer.rb    (revision 17022)
+++ mailer.rb    (working copy)
@@ -382,7 +382,7 @@
     tracker = options[:tracker] ? Tracker.find(options[:tracker]) : nil
     target_version_id = options[:version] ? Version.named(options[:version]).pluck(:id) : nil
     if options[:version] && target_version_id.blank?
-      raise"Couldn't find Version with named #{options[:version]}")
+      raise"Couldn't find Version named #{options[:version]}")
     user_ids = options[:users]

could_not_find_version_named_mailer.rb.patch Magnifier (636 Bytes) Marius Žilėnas, 2018-01-19 12:16

Associated revisions

Revision 17184
Added by Go MAEDA 27 days ago

Fix typo in error message when target version was not found (#28024).

Patch by Marius Žilėnas.


#1 Updated by Go MAEDA about 1 month ago

  • Description updated (diff)

#2 Updated by Go MAEDA 30 days ago

  • Target version set to 4.0.0

I think the change is reasonable. Setting target version to 4.0.0.

#3 Updated by Go MAEDA 27 days ago

  • Subject changed from Could not find Version -with- named... patch to Fix typo in error message in mailer.rb
  • Status changed from New to Closed

Committed. Thank you for your contribution.

Also available in: Atom PDF