|Anonymous | Login | Signup for a new account||2013-05-19 21:35 EDT|
|Main | My View | View Issues | Change Log | Roadmap | Wiki | ManTweet | Repositories|
|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|
|Target Version||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.|
Can you evaluate this issue as part of your category changes.
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
Timestamp: 2008-07-30 18:21:46
|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|
|mod - manage_proj_cat_delete.php|
|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