Project

General

Profile

Actions

Defect #42226

closed

Incorrect links in tracker deletion error message for projects where tracker is disabled

Added by Go MAEDA 15 days ago. Updated 11 days ago.

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

0%

Estimated time:
Resolution:
Invalid
Affected version:

Description

This patch improves the error message displayed when attempting to delete a tracker in use.

Currently, all projects using the tracker are linked in the error message, even if the tracker is disabled for a project, leading to an incorrect issues list. This can lead to incorrect issue lists because when the tracker is disabled for a project, the issues list cannot be filtered to show issues associated with that tracker.

In the suggested fix, if the tracker is disabled, the project name is displayed as plain text instead of a link.


Files


Related issues

Related to Redmine - Feature #12521: Improve tracker deletion error message to display projects containing issues under the tracker ClosedGo MAEDA

Actions
Actions #1

Updated by Go MAEDA 15 days ago

  • Related to Feature #12521: Improve tracker deletion error message to display projects containing issues under the tracker added
Actions #2

Updated by Go MAEDA 12 days ago

I have updated the patch to take rolled-up trackers into account.

The updated patch now also displays a link to the issues list when the tracker is rolled up from subprojects.

Actions #3

Updated by Go MAEDA 11 days ago

  • Status changed from New to Closed
  • Target version deleted (Candidate for next minor release)
  • Resolution set to Invalid

I mistakenly stated that an incorrect issues list would be displayed, but that was a misunderstanding. Therefore, I will withdraw this patch.

If the tracker to be deleted is not enabled in a project, the filters section at the top of the issues list may appear to have a different tracker selected. However, the issues list itself is displayed correctly.

Actions

Also available in: Atom PDF