プロジェクト

全般

プロフィール

Vote #68210

完了

Changing tracker type will lose watchers

Admin Redmine さんがほぼ2年前に追加. ほぼ2年前に更新.

ステータス:
Closed
優先度:
高め
担当者:
-
カテゴリ:
Issues_2
対象バージョン:
開始日:
2010/09/24
期日:
進捗率:

100%

予定工数:
category_id:
2
version_id:
24
issue_org_id:
6479
author_id:
20896
assigned_to_id:
1188
comments:
6
status_id:
5
tracker_id:
1
plus1:
0
affected_version:
closed_on:
affected_version_id:
21
ステータス-->[Closed]

説明

version : 1.0.1

steps to reproduce:

  • create a defect ticket
  • add a few watchers
  • update the ticket to be a feature ticket
  • all watchers are gone

journals

The implications of this behaviour results in unexpected loss of watchers...
--------------------------------------------------------------------------------
Currently, a workaround to change the tracker *without* losing all the current watchers is to utilize the issue-move functionality.
--------------------------------------------------------------------------------
Fixed in r4181. It may be too late for 1.0.2, so I target it for 1.1.0.

Cause of the bug : it's because changing tracker triggers @build_new_issue_from_params@ method but without @params[:issue]['watcher_user_ids']@ (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...
--------------------------------------------------------------------------------
Jean-Baptiste Barth wrote:
> Fixed in r4181. It may be too late for 1.0.2, so I target it for 1.1.0.

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?
--------------------------------------------------------------------------------
Felix:

Agreed, it should be fine for 1.0.2 as long as it merges successfully.
--------------------------------------------------------------------------------
Merged into 1.0-stable
--------------------------------------------------------------------------------

Admin Redmine さんがほぼ2年前に更新

  • カテゴリIssues_2 にセット
  • 対象バージョン1.0.2_24 にセット

他の形式にエクスポート: Atom PDF

いいね!0
いいね!0