Vote #63712
完了Actually block issues from closing when relation 'blocked by' isn't closed
50%
説明
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