View Issue Details

IDProjectCategoryView StatusLast Update
0009548mantisbtadministrationpublic2009-01-15 11:26
Reporterfilinmantis Assigned Tojreese  
PrioritynormalSeveritymajorReproducibilityalways
Status closedResolutionfixed 
PlatformNTOSWindowsOS Version2003
Product Version1.2.0a2 
Fixed in Version1.2.0a3 
Summary0009548: dangerous probem with categories for issues moved from one project to another
Description

Had project "A" with some issues. All issues have "X" category.
Move(using command from drop down list below the list of issues on View Issues page) all issues from "A" project to project "B".

Now all moved issues has "[A] X" category in project "B". BUT there is no such category in "B" project.

Next. I deleted "A" project(don't need any more)..

And NOW I can't open any issue that was moved from "A" -> "B". I get error that "no such category" (unfortunately can't get exact message right now)
And I don't know how to fix this.

Steps To Reproduce

see description

TagsNo tags attached.

Activities

jreese

jreese

2008-08-20 10:09

reporter   ~0019183

This has been fixed in SVN trunk, r5515.

Regarding your report:

After moving issues, it is intended behavior that the bug still points to the old project/category; Mantis expects someone in a position of knowledge to determine the best category to use in the new project, while temporarily maintaining the old category for better information until that occurs.

As for fixing your problem, you'll need to manually set affected bugs' category_id column to 0 (zero) in the database. My apologies for the inconvenience, and thank you for bringing this to our attention.

filinmantis

filinmantis

2008-08-20 18:51

reporter   ~0019187

Thank you for the answer.

Will it be possible to fix my problem using Update Category command in the bottom of issues list on View Issues page? I.e. if I select all invalid issues and change category using this command - will it update categories and issues become valid?

If so could you please review my another reported issue - this "Update Category" command is not working ?

I have no local access to my mantis' machine now so can't manually change category_id.

Thank you.

jreese

jreese

2008-08-25 08:33

reporter   ~0019217

Yes, that should technically work fine. Sorry for the delay in answering.

filinmantis

filinmantis

2008-08-25 16:31

reporter   ~0019221

Unfortunately I still can't solve that problem and use my mantis because Update Category command is not working.

If it possible could you please review this issue or ask someone to review:

0009547: "Update Category" command in "View Issues" not working

Related Changesets

MantisBT: master 1194572d

2008-08-20 09:55

jreese


Details Diff
Fix 0009548: Categories did not properly handle project removal.

git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@5515 <a class="text" href="/?p=mantisbt.git;a=object;h=f5dc347c">f5dc347c</a>-c33d-0410-90a0-b07cc1902cb9
Affected Issues
0009548
mod - core/category_api.php Diff File