Project

General

Profile

Actions

Feature #31361

closed

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

Added by Go MAEDA almost 5 years ago. Updated almost 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Administration
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
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.


Files


Related issues

Related to Redmine - Defect #31387: Don't rescue Exception classClosedGo MAEDA

Actions
Actions #1

Updated by Go MAEDA almost 5 years ago

  • Target version set to 4.1.0

Setting the target version to 4.1.0.

Actions #2

Updated by Go MAEDA almost 5 years 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.

Actions #3

Updated by Go MAEDA almost 5 years ago

Actions

Also available in: Atom PDF