https://www.redmine.org/https://www.redmine.org/favicon.ico?16793021292010-09-24T04:48:55ZRedmineRedmine - Defect #6479: Changing tracker type will lose watchers https://www.redmine.org/issues/6479?journal_id=206632010-09-24T04:48:55ZMischa The Evil
<ul><li><strong>Priority</strong> changed from <i>Normal</i> to <i>High</i></li></ul><p>The implications of this behaviour results in unexpected loss of watchers...</p> Redmine - Defect #6479: Changing tracker type will lose watchers https://www.redmine.org/issues/6479?journal_id=207032010-09-25T13:58:35ZMischa The Evil
<ul></ul><p>Currently, a workaround to change the tracker <strong>without</strong> losing all the current watchers is to utilize the issue-move functionality.</p> Redmine - Defect #6479: Changing tracker type will lose watchers https://www.redmine.org/issues/6479?journal_id=207232010-09-26T13:51:37ZJean-Baptiste Barth
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>Resolved</i></li><li><strong>Assignee</strong> set to <i>Jean-Baptiste Barth</i></li><li><strong>Target version</strong> set to <i>1.1.0</i></li><li><strong>% Done</strong> changed from <i>0</i> to <i>100</i></li><li><strong>Resolution</strong> set to <i>Fixed</i></li></ul><p>Fixed in <a class="changeset" title="Fixed: don't reset watchers when changing tracker. #6479" href="https://www.redmine.org/projects/redmine/repository/svn/revisions/4181">r4181</a>. It may be too late for 1.0.2, so I target it for 1.1.0.</p>
<p>Cause of the bug : it's because changing tracker triggers <code>build_new_issue_from_params</code> method but without <code>params[:issue]['watcher_user_ids']</code> (when an issue already exists, watchers are managed in the sidebar, not in the main form). It's just a temporary patch, it's not really clean that updating an existing issue triggers new/create actions. So it may need more work later...</p> Redmine - Defect #6479: Changing tracker type will lose watchers https://www.redmine.org/issues/6479?journal_id=207242010-09-26T14:16:04ZFelix Schäfer
<ul></ul><p>Jean-Baptiste Barth wrote:</p>
<blockquote>
<p>Fixed in <a class="changeset" title="Fixed: don't reset watchers when changing tracker. #6479" href="https://www.redmine.org/projects/redmine/repository/svn/revisions/4181">r4181</a>. It may be too late for 1.0.2, so I target it for 1.1.0.</p>
</blockquote>
<p>It shouldn't wait for 1.1.0, Eric: could you look into adding it to 1.0.2, and if you don't stage it for 1.0.3?</p> Redmine - Defect #6479: Changing tracker type will lose watchers https://www.redmine.org/issues/6479?journal_id=207332010-09-26T16:35:15ZEric Davis
<ul><li><strong>Target version</strong> changed from <i>1.1.0</i> to <i>1.0.2</i></li></ul><p>Felix:</p>
<p>Agreed, it should be fine for 1.0.2 as long as it merges successfully.</p> Redmine - Defect #6479: Changing tracker type will lose watchers https://www.redmine.org/issues/6479?journal_id=207722010-09-26T22:21:22ZEric Davis
<ul><li><strong>Status</strong> changed from <i>Resolved</i> to <i>Closed</i></li></ul><p>Merged into 1.0-stable</p>