View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0003786 | mantisbt | feature | public | 2004-04-28 23:02 | 2008-08-11 09:41 |
| Reporter | dfaught | Assigned To | jreese | ||
| Priority | normal | Severity | feature | Reproducibility | always |
| Status | closed | Resolution | fixed | ||
| Fixed in Version | 1.2.0a2 | ||||
| Summary | 0003786: deleting a category that is in use should issue a warning | ||||
| Description | If I go to manage_proj_edit_page.php via 'Manage->Manage Projects->project name' as an admin, and then delete one of the categories that at least one bug report is using, the category is deleted without any warning. The bug reports that use that category then have an empty category field. Most bug reporting tools will not allow deleting a category that is in use. I would at least like to see a warning if the category is in use, and perhaps a list of bugs that are using it. There is currently a warning message any time I delete a category, but it doesn't say whether any records are using that category. | ||||
| Tags | No tags attached. | ||||
|
John, Can you evaluate this issue as part of your category changes. Paul |
|
|
Well, even with the new category system, it still functions almost identical to the previous system. However, now it gives a category_id of '0', which gets interpreted as 'No Category' instead of blank. As for a warning, we could just change the text string on the ensure_confirmed() message to take a parameter and include the current bug count in the message. Would be a simple solution. Thoughts? |
|
|
Fixed in SVN trunk r5466. |
|
|
MantisBT: master 6f93e2a3 2008-07-30 14:21 Details Diff |
Fix 0003786: Show bug count when deleting categories. git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@5466 <a class="text" href="/?p=mantisbt.git;a=object;h=f5dc347c">f5dc347c</a>-c33d-0410-90a0-b07cc1902cb9 |
Affected Issues 0003786 |
|
| mod - lang/strings_english.txt | Diff File | ||
| mod - manage_proj_cat_delete.php | Diff File | ||