View Issue Details

IDProjectCategoryView StatusLast Update
0004671mantisbtbugtrackerpublic2011-01-07 18:24
Reporterstevemagruder Assigned Tovboctor  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionduplicate 
Product Version0.19.0 
Summary0004671: Problems with categories after issue move
Description

After moving an issue to a different project, there's two issues related to categories:
1) The old category is retained, even if it doesn't exist amongst the categories in the new project. Either should be changed to null, or the category should be added to the new project.
2) If I go to update the issue right after the move, the combo list of categories shows the categories from the old project rather than the new one.

TagsNo tags attached.

Relationships

duplicate of 0012667 closedvboctor Moving issues between projects doesn't update the category 
related to 0005034 closedvboctor On move project you can't specify the category you'd like to move to 

Activities

stevemagruder

stevemagruder

2005-01-05 13:58

reporter   ~0008852

Has anyone taken a look at this yet? I'll be happy to answer any questions about it.

toddpw

toddpw

2005-08-28 05:53

reporter   ~0011307

I ran into something like this recently... we had an issue created in the wrong project, and when we moved it to the correct project (one which didn't have any categories defined) the issue kept its old category, but all the "update category" pull-downs are empty because the issue's project has no categories. I guess because you can't select anything different, it never checks the old category to see if it is indeed different (this may be misguided logic to protect the old category, or just an accident).

So attempting to update the category results in the issue being touched but no actual change to the category occurs. The proposal to allow remapping of categories during a move seems like the right way to go here. I don't agree that categories should be automatically added to another project however, that seems like a great way to accumulate junk categories by accident.

stevemagruder

stevemagruder

2005-08-28 12:59

reporter   ~0011308

What I think should happen is that during the move, the category the issue had is dropped (but displayed for the user), and the user is given the opportunity to set the category from the list of categories in the new project, or set to nothing (default). And for administrators, they could create a new category on the spot, with the old project category as the default naming.

Thus, there's nothing automatic in the above, the transferring user will get to choose what to do.