プロジェクト

全般

プロフィール

Vote #63712

完了

Actually block issues from closing when relation 'blocked by' isn't closed

Admin Redmine さんが3年以上前に追加. 3年以上前に更新.

ステータス:
Closed
優先度:
通常
担当者:
-
カテゴリ:
Issues_2
対象バージョン:
開始日:
2008/08/04
期日:
進捗率:

50%

予定工数:
category_id:
2
version_id:
6
issue_org_id:
1740
author_id:
1565
assigned_to_id:
1
comments:
9
status_id:
5
tracker_id:
1
plus1:
1
affected_version:
closed_on:
affected_version_id:
ステータス-->[Closed]

説明

In r506 issue relations are introduced. In the initial commit four relations are defined:

related to

duplicates

blocks

precedes

As far as I can trace the first (related to) and the fourth (precedes) are implemented in r506 already. The second (duplicates) is implemented in r663 and fixed in r1162, r1183 and r1488.

It seems to me (after trying the demo and my checkout of the latest trunk) that the third relation (blocks) isn't implemented at all after r506. I guess this should behave like described in the commit-message of r506:

??blocks: will require to close the blocking issue before closing the blocked issue??


journals

+1
--------------------------------------------------------------------------------
See #2132 for a patch to address this
--------------------------------------------------------------------------------
Another relation to add:
- belongs to
With this relation, we could make a hierarchy between tickets. In addition, the root ticket could summarize the effort from the child tickets.
--------------------------------------------------------------------------------
Marcos Vinícius Souza wrote:
> Another relation to add:
> - belongs to
> With this relation, we could make a hierarchy between tickets. In addition, the root ticket could summarize the effort from the child tickets.

Marcos, your comment does not relate to this issue's subject at all. Your talking about a subject which is discussed on issue #443. If not: then you should open a new issue for your request yourself... :-)
--------------------------------------------------------------------------------
Corrected fields before tracker-change from feature to defect.
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
@Jean-Philippe,

I've changed the tracker since this is a feature which is documented as already implemented but it is in-fact not implemented yet.
Patch #2132 implements a fix to adress this issue in a way that if an issue is blocked by another issue, then the available statuses only include statuses that does not have the @closed@ status-attribute set (e.g. New, Assigned, Resolved, Feedback). It also includes updates for the unit tests and fixtures...
--------------------------------------------------------------------------------
Fix committed in r2800.
--------------------------------------------------------------------------------
Jean-Philippe Lang wrote:
> Fix committed in r2800.

Great... Thanks!
--------------------------------------------------------------------------------


related_issues

relates,Closed,2132,Patch to prevent blocked issues from being closed
relates,Closed,1755,add "blocked by" as a related issues option
relates,New,3364,Blocked or Following Issues
relates,Closed,279,issue dependencies
duplicates,Closed,2888,"blocks" has not implemented.
precedes,Confirmed,12355,Being able to close blocking and blocked issues in one bulk update operation

Admin Redmine さんが3年以上前に更新

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

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

いいね!0
いいね!0