https://www.redmine.org/
https://www.redmine.org/favicon.ico?1679302129
2015-01-16T10:13:33Z
Redmine
Redmine - Defect #18864: troubles in email notifications (Redmine 2.5.2.stable, russian text)
https://www.redmine.org/issues/18864?journal_id=60878
2015-01-16T10:13:33Z
Toshi MARUYAMA
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>Closed</i></li><li><strong>Resolution</strong> set to <i>Duplicate</i></li></ul><p>Duplicate of <a class="issue tracker-1 status-5 priority-4 priority-default closed" title="Defect: rdm-mailhandler: subject corruption (Closed)" href="https://www.redmine.org/issues/16859">#16859</a>.</p>
Redmine - Defect #18864: troubles in email notifications (Redmine 2.5.2.stable, russian text)
https://www.redmine.org/issues/18864?journal_id=60879
2015-01-16T10:13:43Z
Toshi MARUYAMA
<ul><li><strong>Is duplicate of</strong> <i><a class="issue tracker-1 status-5 priority-4 priority-default closed" href="/issues/16859">Defect #16859</a>: rdm-mailhandler: subject corruption</i> added</li></ul>
Redmine - Defect #18864: troubles in email notifications (Redmine 2.5.2.stable, russian text)
https://www.redmine.org/issues/18864?journal_id=60885
2015-01-16T10:24:56Z
Toshi MARUYAMA
<ul><li><strong>Status</strong> changed from <i>Closed</i> to <i>New</i></li><li><strong>Resolution</strong> deleted (<del><i>Duplicate</i></del>)</li></ul><p>Sorry, this issue is for sending mail</p>
Redmine - Defect #18864: troubles in email notifications (Redmine 2.5.2.stable, russian text)
https://www.redmine.org/issues/18864?journal_id=60886
2015-01-16T10:25:32Z
Toshi MARUYAMA
<ul><li><strong>Is duplicate of</strong> deleted (<i><a class="issue tracker-1 status-5 priority-4 priority-default closed" href="/issues/16859">Defect #16859</a>: rdm-mailhandler: subject corruption</i>)</li></ul>
Redmine - Defect #18864: troubles in email notifications (Redmine 2.5.2.stable, russian text)
https://www.redmine.org/issues/18864?journal_id=60888
2015-01-16T10:25:38Z
Toshi MARUYAMA
<ul><li><strong>Related to</strong> <i><a class="issue tracker-1 status-5 priority-4 priority-default closed" href="/issues/16859">Defect #16859</a>: rdm-mailhandler: subject corruption</i> added</li></ul>
Redmine - Defect #18864: troubles in email notifications (Redmine 2.5.2.stable, russian text)
https://www.redmine.org/issues/18864?journal_id=60890
2015-01-16T10:31:59Z
Toshi MARUYAMA
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>Needs feedback</i></li></ul><p>See <a class="wiki-page" href="https://www.redmine.org/projects/redmine/wiki/Submissions">Submissions</a> and <a class="issue tracker-1 status-5 priority-5 priority-high2 closed" title="Defect: Mail subject is cutting on MS Exchange 2007, 2010 after 256 character. (RFC2047) (Closed)" href="https://www.redmine.org/issues/5784#note-2">#5784#note-2</a>.</p>
Redmine - Defect #18864: troubles in email notifications (Redmine 2.5.2.stable, russian text)
https://www.redmine.org/issues/18864?journal_id=60891
2015-01-16T10:32:41Z
Toshi MARUYAMA
<ul><li><strong>Related to</strong> <i><a class="issue tracker-1 status-5 priority-5 priority-high2 closed" href="/issues/5784">Defect #5784</a>: Mail subject is cutting on MS Exchange 2007, 2010 after 256 character. (RFC2047)</i> added</li></ul>
Redmine - Defect #18864: troubles in email notifications (Redmine 2.5.2.stable, russian text)
https://www.redmine.org/issues/18864?journal_id=60893
2015-01-16T10:32:55Z
Toshi MARUYAMA
<ul></ul><p>And give us examples.</p>
Redmine - Defect #18864: troubles in email notifications (Redmine 2.5.2.stable, russian text)
https://www.redmine.org/issues/18864?journal_id=60947
2015-01-18T20:32:16Z
Имя Фамилия
<ul></ul><p>At least one of the following six examples of subject reproduce error:</p>
<ul>
<li>zzzzzzабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвга</li>
<li>zzzzzабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгаб</li>
<li>zzzzабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабв</li>
<li>zzzабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвг</li>
<li>zzабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвга</li>
<li>zабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгабвгаб</li>
</ul>
<p>Example number depends on the version redmine.</p>
Redmine - Defect #18864: troubles in email notifications (Redmine 2.5.2.stable, russian text)
https://www.redmine.org/issues/18864?journal_id=60963
2015-01-19T07:16:46Z
Toshi MARUYAMA
<ul><li><strong>Status</strong> changed from <i>Needs feedback</i> to <i>Closed</i></li><li><strong>Resolution</strong> set to <i>Invalid</i></li></ul><pre><code class="diff syntaxhl"><span class="gh">diff --git a/test/unit/mailer_test.rb b/test/unit/mailer_test.rb
</span><span class="gd">--- a/test/unit/mailer_test.rb
</span><span class="gi">+++ b/test/unit/mailer_test.rb
</span><span class="p">@@ -1,3 +1,5 @@</span>
<span class="gi">+# encoding: utf-8
+#
</span> # Redmine - project management software
# Copyright (C) 2006-2015 Jean-Philippe Lang
#
<span class="p">@@ -425,6 +427,16 @@</span> class MailerTest < ActiveSupport::TestCa
assert_mail_body_match '(Private notes)', last_email
end
+ def test_issue_subject
<span class="gi">+ ActionMailer::Base.deliveries.clear
+ subject = "日本語12日本語34" * 26
+ issue = Issue.generate!(:subject => subject)
+ mail = last_email
+ Mailer.deliver_issue_add(issue)
+ puts mail.subject
+ puts mail.subject.size
+ end
+
</span> def test_issue_edit_with_relation_should_notify_users_who_can_see_the_related_issue
issue = Issue.generate!
issue.init_journal(User.find(1))
</code></pre>
<pre>
$ ruby test/unit/mailer_test.rb -n test_issue_subject
Run options: -n test_issue_subject --seed 985
# Running:
E
Finished in 1.078041s, 0.9276 runs/s, 0.0000 assertions/s.
1) Error:
MailerTest#test_issue_subject:
ActiveRecord::RecordInvalid: Validation failed: Subject is too long (maximum is 255 characters)
test/object_helpers.rb:95:in `generate!'
test/unit/mailer_test.rb:433:in `test_issue_subject'
1 runs, 0 assertions, 0 failures, 1 errors, 0 skips
</pre>
<p><a class="external" href="http://www.redmine.org/projects/redmine/repository/entry/tags/2.5.3/app/views/issues/_form.html.erb#L21">http://www.redmine.org/projects/redmine/repository/entry/tags/2.5.3/app/views/issues/_form.html.erb#L21</a></p>
<blockquote>
<p>:maxlength => 255</p>
</blockquote>
<p><a class="external" href="http://www.redmine.org/projects/redmine/repository/entry/tags/2.5.3/app/models/issue.rb#L69">http://www.redmine.org/projects/redmine/repository/entry/tags/2.5.3/app/models/issue.rb#L69</a></p>
<blockquote>
<p>validates_length_of :subject, :maximum => 255</p>
</blockquote>
Redmine - Defect #18864: troubles in email notifications (Redmine 2.5.2.stable, russian text)
https://www.redmine.org/issues/18864?journal_id=60964
2015-01-19T07:20:19Z
Toshi MARUYAMA
<ul></ul><p>I recommend you to use Ruby >= 1.9 if you use Ruby 1.8.7.</p>
Redmine - Defect #18864: troubles in email notifications (Redmine 2.5.2.stable, russian text)
https://www.redmine.org/issues/18864?journal_id=61266
2015-02-03T15:21:15Z
Toshi MARUYAMA
<ul><li><strong>Related to</strong> deleted (<i><a class="issue tracker-1 status-5 priority-4 priority-default closed" href="/issues/16859">Defect #16859</a>: rdm-mailhandler: subject corruption</i>)</li></ul>