Patch #2132

Patch to prevent blocked issues from being closed

Added by Steven Chanin over 14 years ago. Updated over 13 years ago.

Status:ClosedStart date:2008-11-04
Priority:NormalDue date:
Assignee:-% Done:


Target version:0.9.0


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.

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

Related issues

Related to Redmine - Defect #1740: Actually block issues from closing when relation 'blocked... Closed 2008-08-04
Related to Redmine - Feature #3364: Blocked or Following Issues New 2009-05-15


#1 Updated by Mischa The Evil almost 14 years ago

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

#2 Updated by Marius Garbea over 13 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.

#3 Updated by Jean-Philippe Lang over 13 years ago

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

Patch applied with changes in r2800.

Also available in: Atom PDF