View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0009548 | mantisbt | administration | public | 2008-08-17 18:03 | 2009-01-15 11:26 |
Reporter | filinmantis | Assigned To | jreese | ||
Priority | normal | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | NT | OS | Windows | OS Version | 2003 |
Product Version | 1.2.0a2 | ||||
Fixed in Version | 1.2.0a3 | ||||
Summary | 0009548: dangerous probem with categories for issues moved from one project to another | ||||
Description | Had project "A" with some issues. All issues have "X" category. 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) | ||||
Steps To Reproduce | see description | ||||
Tags | No tags attached. | ||||
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. |
|
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. |
|
Yes, that should technically work fine. Sorry for the delay in answering. |
|
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 |
|
MantisBT: master 1194572d 2008-08-20 09:55 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 |