Project

General

Profile

Actions

Patch #3264

closed

Allow issue edit exceptions to choke nicely

Added by Brad Beattie almost 15 years ago. Updated almost 15 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Plugin API
Target version:
-
Start date:
2009-04-29
Due date:
% Done:

0%

Estimated time:

Description

The attached patch allows issues raised by controller_issues_edit_before_save and controller_issues_edit_after_save to choke nicely, instead of bringing the user to an intimidating grey page.

The purpose of this is so that a plugin can use the controller_issues_edit_before_save hook and deny editing on specific conditions (e.g. an issue can't have it's assigned_to revoked after it's been set once, specific roles can't remove due dates, etc). Without this modification, plugins can't stop issues from saving.


Files

patch.diff (569 Bytes) patch.diff Brad Beattie, 2009-04-29 20:27
Actions

Also available in: Atom PDF