Feature #31361

Include a reason in the error message when an issue status cannot be deleted

Added by Go MAEDA 3 months ago. Updated 3 months ago.

Status:ClosedStart date:
Priority:NormalDue date:
Assignee:Go MAEDA% Done:

0%

Category:Administration
Target version:4.1.0
Resolution:Fixed

Description

The attached patch adds a reason why the issue status cannot be deleted to the error message "Unable to delete issue status".

You cannot delete issue statuses if the status in use. Sometimes it is difficult to deal with the problem because the error message always says only "Unable to delete issue status".

After applying this patch, you can see an error message with the reason when an issue status cannot be deleted.

unable_delete_issue_status.patch Magnifier (35.9 KB) Go MAEDA, 2019-05-13 16:03

error-message@2x.png (20.8 KB) Go MAEDA, 2019-05-13 16:05


Related issues

Related to Redmine - Defect #31387: Don't rescue Exception class Closed

Associated revisions

Revision 18168
Added by Go MAEDA 3 months ago

Include a reason in the error message when an issue status cannot be deleted (#31361).

Patch by Go MAEDA.

History

#1 Updated by Go MAEDA 3 months ago

  • Target version set to 4.1.0

Setting the target version to 4.1.0.

#2 Updated by Go MAEDA 3 months ago

  • Subject changed from Show reason when an issue status cannot be deleted to Include a reason in the error message when an issue status cannot be deleted
  • Status changed from New to Closed
  • Assignee set to Go MAEDA
  • Resolution set to Fixed

Committed the patch.

#3 Updated by Go MAEDA 3 months ago

Also available in: Atom PDF