MantisBT

View Issue Details Jump to Notes ] Wiki ] Related Changesets ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0003786mantisbtfeaturepublic2004-04-28 23:022008-08-11 09:41
Reporterdfaught 
Assigned Tojreese 
PrioritynormalSeverityfeatureReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version1.2.0a2 
Summary0003786: deleting a category that is in use should issue a warning
DescriptionIf 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.
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
User avatar (0018441)
grangeway (developer)
2008-07-13 12:59

John,

Can you evaluate this issue as part of your category changes.

Paul
User avatar (0018504)
jreese (administrator)
2008-07-14 07:57

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?
User avatar (0018931)
jreese (administrator)
2008-07-30 14:21

Fixed in SVN trunk r5466.

- Related Changesets
MantisBT: master 6f93e2a3
Timestamp: 2008-07-30 18:21:46
Author: jreese
Details ] Diff ]
Fix 0003786: Show bug count when deleting categories.

git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@5466 [^] /?p=mantisbt.git;a=object;h=f5dc347c-c33d-0410-90a0-b07cc1902cb9
mod - lang/strings_english.txt Diff ] File ]
mod - manage_proj_cat_delete.php Diff ] File ]

- Issue History
Date Modified Username Field Change
2004-04-28 23:02 dfaught New Issue
2008-07-13 12:59 grangeway Status new => assigned
2008-07-13 12:59 grangeway Assigned To => jreese
2008-07-13 12:59 grangeway Note Added: 0018441
2008-07-14 07:57 jreese Note Added: 0018504
2008-07-28 14:51 jreese Note Added: 0018790
2008-07-28 14:51 jreese Status @0@ => resolved
2008-07-28 14:51 jreese Resolution @0@ => won't fix
2008-07-28 14:52 jreese Note Deleted: 0018790
2008-07-28 14:53 jreese Status resolved => assigned
2008-07-28 14:53 jreese Resolution won't fix => open
2008-07-30 14:21 jreese Note Added: 0018931
2008-07-30 14:21 jreese Status @0@ => resolved
2008-07-30 14:21 jreese Fixed in Version => 1.2.0a2
2008-07-30 14:21 jreese Resolution @0@ => fixed
2008-08-11 09:41 giallu Status resolved => closed
2008-10-20 16:47 Changeset attached master 3a1b77c2 =>
2008-11-11 08:32 jreese Changeset attached master 6f93e2a3 =>
2008-11-11 08:45 jreese Changeset attached master 6f93e2a3 =>


MantisBT 1.2.16dev master-1.2.x-8c2bd07 [^]
Copyright © 2000 - 2013 MantisBT Team
Time: 0.1234 seconds.
memory usage: 2,806 KB
Powered by Mantis Bugtracker