Mantis Bug Tracker
 

View Issue Details Jump to Notes ] Wiki ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0010593mantisbtadministrationpublic2009-06-16 06:432010-07-13 01:26
Reporterjonathh 
Assigned To 
PrioritynormalSeverityminorReproducibilityalways
StatusconfirmedResolutionopen 
PlatformOSOS Version
Product Version1.1.7 
Target VersionFixed in Version 
Summary0010593: Wrong category used when old one deleted.
DescriptionI have found a bug where by when a issue/s has a category set. If that category option is deleted when you open the issue up for editing the *next* category option is silently selected rather than it being set to blank being force to select one yourself.
Steps To ReproduceCreate 2 categories.
Raise an issue using one of them.
Delete used category.
Open issue for editing.
Notice the second category is now selected without being prompted.
Submit changes - only the eagle eyed notice the change.
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
User avatar (0022482)
vboctor (administrator)
2009-07-12 17:16

This is an issue with all our lookup values. I wonder if we should ban deletion of entities that are referenced by issues. This is to force re-assigning these issues to alternate categories/versions/users, etc. If we do that, then issue goes away. This will also keep our database more consistent.
User avatar (0022483)
vboctor (administrator)
2009-07-12 17:16

Reminder sent to: jreese

@jreese, what do you think?
User avatar (0026065)
anthropic (reporter)
2010-07-13 01:26
edited on: 2010-07-13 01:27

I think there should be 3 changes after I had to delete a project and all the categories for the project were lost and I now have 1000 issues without a category.

1. A link table between category and project so if the project is deleted the category can remain, also so there is less duplication and more consistency in the database for category names (I had a colleague add the same category in four projects with three different spellings which annoyed me greatly!).

2. A way to re-link a category to another project, perhaps a category admin page.

and
3. A way to search for orphaned issues that have category or other fields that are no longer valid.


- Issue History
Date Modified Username Field Change
2009-06-16 06:43 jonathh New Issue
2009-07-12 17:16 vboctor Note Added: 0022482
2009-07-12 17:16 vboctor Status new => confirmed
2009-07-12 17:16 vboctor Issue Monitored: jreese
2009-07-12 17:16 vboctor Note Added: 0022483
2010-07-13 01:26 anthropic Note Added: 0026065
2010-07-13 01:27 anthropic Note Edited: 0026065 View Revisions


MantisBT 1.2.2 git master-1.2.x[^]
Copyright © 2000 - 2010 MantisBT Group
Time: 0.2360 seconds.
memory usage: 1,943 KB
Powered by Mantis Bugtracker