https://www.redmine.org/https://www.redmine.org/favicon.ico?16793021292013-02-18T16:23:23ZRedmineRedmine - Patch #11495: Reopen closed issues on reply by emailhttps://www.redmine.org/issues/11495?journal_id=458552013-02-18T16:23:23ZTimothy Fawcett
<ul></ul><p>This patch would work in Redmine 2.2.2 if the following line in mail_handler.rb did not overright the change in issue.status:</p>
<p>issue.safe_attributes = issue_attributes_from_keywords(issue)</p> Redmine - Patch #11495: Reopen closed issues on reply by emailhttps://www.redmine.org/issues/11495?journal_id=461762013-02-27T19:56:06ZAlex Shulgin
<ul></ul><p>Timothy Fawcett wrote:</p>
<blockquote>
<p>This patch would work in Redmine 2.2.2 if the following line in mail_handler.rb did not overright the change in issue.status:</p>
<p>issue.safe_attributes = issue_attributes_from_keywords(issue)</p>
</blockquote>
<p>What makes you think it doesn't work in 2.x? It does for me (and I have a report that it works on 2.2.2 exactly.) The patch was against 1.4 (or 1.3) and the line you show didn't change since then. This line <strong>can</strong> overwrite the change, but only if the status was deliberately altered by the email author, in which case it <strong>should</strong> overwrite it.</p>
<p>I must note that to make the thing actually work you need to check the 'Reopen closed issues on email reply' checkbox in the Redmine Settings after applying the patch.</p>
<p>--<br />Alex</p> Redmine - Patch #11495: Reopen closed issues on reply by emailhttps://www.redmine.org/issues/11495?journal_id=541702014-01-08T17:06:19Zguzzi jones
<ul></ul><p>When i run this on the latest version of redmine i get "can't find file to patch at input line 5"</p> Redmine - Patch #11495: Reopen closed issues on reply by emailhttps://www.redmine.org/issues/11495?journal_id=541712014-01-08T17:07:28Zguzzi jones
<ul></ul><p>guzzi jones wrote:</p>
<blockquote>
<p>When i run this on the latest version of redmine i get "can't find file to patch at input line 5"</p>
</blockquote>
<p>Environment:<br /> Redmine version 2.4.1.stable<br /> Ruby version 1.8.7-p352 (2011-06-30) [x86_64-linux]<br /> Rails version 3.2.16<br /> Environment production<br /> Database adapter PostgreSQL<br />SCM:<br /> Subversion 1.6.17<br /> Git 1.7.9.5<br /> Filesystem <br />Redmine plugins:<br /> no plugin installed</p> Redmine - Patch #11495: Reopen closed issues on reply by emailhttps://www.redmine.org/issues/11495?journal_id=541752014-01-08T17:37:58Zguzzi jones
<ul></ul><p>got the patch to run by using p1</p>
<p>$ sudo patch -p1 < issue-reopen.patch</p>
<p>patching file app/models/mail_handler.rb<br />Hunk <a class="issue tracker-1 status-5 priority-4 priority-default closed" title="Defect: permissions if not admin (Closed)" href="https://www.redmine.org/issues/1">#1</a> FAILED at 190.<br />1 out of 1 hunk FAILED -- saving rejects to file app/models/mail_handler.rb.rej<br />patching file app/views/settings/_mail_handler.html.erb<br />Hunk <a class="issue tracker-1 status-5 priority-4 priority-default closed" title="Defect: permissions if not admin (Closed)" href="https://www.redmine.org/issues/1">#1</a> succeeded at 23 (offset 5 lines).<br />patching file config/locales/en.yml<br />Hunk <a class="issue tracker-1 status-5 priority-4 priority-default closed" title="Defect: permissions if not admin (Closed)" href="https://www.redmine.org/issues/1">#1</a> succeeded at 376 (offset 11 lines).<br />patching file config/settings.yml<br />Hunk <a class="issue tracker-1 status-5 priority-4 priority-default closed" title="Defect: permissions if not admin (Closed)" href="https://www.redmine.org/issues/1">#1</a> FAILED at 148.<br />1 out of 1 hunk FAILED -- saving rejects to file config/settings.yml.rej</p>
<p>looks like this patch will not install anymore</p> Redmine - Patch #11495: Reopen closed issues on reply by emailhttps://www.redmine.org/issues/11495?journal_id=543302014-01-16T10:13:37ZToshi MARUYAMA
<ul><li><strong>Related to</strong> <i><a class="issue tracker-2 status-1 priority-4 priority-default" href="/issues/15837">Feature #15837</a>: Reply to closed ticket changes status to "reopen" designated status</i> added</li></ul> Redmine - Patch #11495: Reopen closed issues on reply by emailhttps://www.redmine.org/issues/11495?journal_id=543322014-01-16T10:14:27ZToshi MARUYAMA
<ul><li><strong>Related to</strong> <i><a class="issue tracker-2 status-1 priority-4 priority-default" href="/issues/15838">Feature #15838</a>: feedback recived status designation</i> added</li></ul> Redmine - Patch #11495: Reopen closed issues on reply by emailhttps://www.redmine.org/issues/11495?journal_id=674602015-11-23T18:55:13ZBruno Souza
<ul></ul><p>guzzi jones wrote:</p>
<blockquote>
<p>When i run this on the latest version of redmine i get "can't find file to patch at input line 5"</p>
</blockquote>
<p>Same problem here! This feature will be very helpful for us.</p>
<pre>
Environment:
Redmine version 3.1.2.stable.14882
Ruby version 2.1.5-p273 (2014-11-13) [x86_64-linux-gnu]
Rails version 4.2.4
Environment production
Database adapter PostgreSQL
SCM:
Subversion 1.8.10
Git 2.1.4
Filesystem
Redmine plugins:
redmine_base_deface 0.0.1
redmine_closes_resolved_issues 1.0.2
redmine_default_custom_query 1.1.2
redmine_helpdesk 0.0.15
redmine_image_clipboard_paste 1.0.0
redmine_ldap_sync 2.0.7.devel.gba84cac44e
redmine_lightbox2 0.2.4
redmine_private_wiki 0.2.2
redmine_refresh 0.3.1
redmine_track_control 1.1.0
</pre> Redmine - Patch #11495: Reopen closed issues on reply by emailhttps://www.redmine.org/issues/11495?journal_id=724492016-07-27T23:12:40ZHarry Wood
<ul></ul><p>Seems to be a duplicate of an earlier issue <a class="issue tracker-2 status-5 priority-4 priority-default closed" title="Feature: reopen closed issues on e-mail (Closed)" href="https://www.redmine.org/issues/7994">#7994</a> (and the same patch code?) Would this fix be considered for trunk? or is there a newer solution to this problem I'm not aware of?</p> Redmine - Patch #11495: Reopen closed issues on reply by emailhttps://www.redmine.org/issues/11495?journal_id=729302016-08-24T07:33:00ZToshi MARUYAMA
<ul><li><strong>Has duplicate</strong> <i><a class="issue tracker-2 status-5 priority-4 priority-default closed" href="/issues/7994">Feature #7994</a>: reopen closed issues on e-mail</i> added</li></ul> Redmine - Patch #11495: Reopen closed issues on reply by emailhttps://www.redmine.org/issues/11495?journal_id=729352016-08-24T07:34:35ZToshi MARUYAMA
<ul><li><strong>Related to</strong> <i><a class="issue tracker-2 status-1 priority-4 priority-default" href="/issues/6067">Feature #6067</a>: Change Ticket Status from Closed to Open on Email Reply</i> added</li></ul>