Project

General

Profile

Actions

Patch #2132

closed

Patch to prevent blocked issues from being closed

Added by Steven Chanin about 16 years ago. Updated over 15 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Issues
Target version:
Start date:
2008-11-04
Due date:
% Done:

0%

Estimated time:

Description

I noticed issue #1740 and decided to try to contribute by coming up with a patch. My proposed solution is that if an issue is blocked by another issue, then the available statuses should only include statuses that are NOT closed statuses (e.g. New, Assigned, Resolved, Feedback). If the issue is NOT blocked by another issue, then closed statuses (e.g. Closed, Rejected) will also appear in the drop down list.

The patch also includes updates for unit tests and fixtures.


Files

cant_close_blocked_issues.diff (4.1 KB) cant_close_blocked_issues.diff Steven Chanin, 2008-11-04 21:58

Related issues

Related to Redmine - Defect #1740: Actually block issues from closing when relation 'blocked by' isn't closedClosedJean-Philippe Lang2008-08-04

Actions
Related to Redmine - Feature #3364: Blocked or Following IssuesNew2009-05-15

Actions
Actions #1

Updated by Mischa The Evil over 15 years ago

FWIW: this solution still works on current trunk at r2641. Great!

Actions #2

Updated by Marius Garbea over 15 years ago

(this is a question for the Redmine team)
How come this patch was not integrated in the latest release?
I mean: why did you guys offered the feature of marking an issue as blocked, if it isn't actually?

Software should be robust as a German car, and fancy as an Italian one. No offense, but advertising a feature that does not work but looks well - this is a French car.

Actions #3

Updated by Jean-Philippe Lang over 15 years ago

  • Status changed from New to Closed
  • Target version set to 0.9.0

Patch applied with changes in r2800.
Thanks.

Actions

Also available in: Atom PDF