Relationship Graph
View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update | 
|---|---|---|---|---|---|
| 0014189 | mantisbt | sub-projects | public | 2012-04-24 19:31 | 2012-09-05 11:19 | 
| Reporter | patgaytx | Assigned To | dregad | ||
| Priority | normal | Severity | major | Reproducibility | always | 
| Status | closed | Resolution | duplicate | ||
| Product Version | 1.2.10 | ||||
| Summary | 0014189: APPLICATION ERROR 0001502 Category not found. | ||||
| Description | I'm getting this message after moving a bug from one subproject to another: Category not found. The patch provided in 0013007 seems to be in place in bug_api.php. Can someone tell me what's going on and how to fix it? // Bug has no category gory_project_id ) | ||||
| Tags | No tags attached. | ||||
| I wanted to add that the sub-project I'm trying to move the bug to does not have the same category name as the sub-project I'm moving from. So the question now becomes, how to move a bug from one sub-project/category combination to another sub-project/category when the categories between sub-projects are different. My first inclination is to have the person moving the bug select both the "Move To" sub-project AND the "Move To" category. | |
| Another thing I noticed is that this problem only occurs when the General Category (id 1) doesn't exist.  This is the case for me as I deleted all the general categories.  I updated the database table mantis_category_table and inserted id 1 with a name of General and was able to get past the message when moving a bug.  The SQL I used was: INSERT INTO  I still maintain my comment in the prior note: 0014189:0031714 | |
| You have to define $g_default_category_for_moves to some valid category. This can be done fot all projects in config_inc.php or per project on manage configuration page. | |
| yeah, that's how I ended up fixing the problem. I added back the general category with id 1 (effectively defining $g_default_category_for_moves). I'd like to see an enhancement made that would give you the opportunity to select both the Project/subproject and the category when doing a move so that it doesn't require any preconfiguration in the config_inc.php or at the project level. | |
| The original issue is a duplicate of 0013850, and atrol provided the correct fix for that. I will document this in the Admin guide / troubleshooting section. Your feature request will be tracked separately in 0014190. | |
| MantisBT: master 21b7b34f 2012-04-24 23:02 Details Diff | Documentation: added error 1502 in Troubleshooting guide Affects 0013850, 0014189 and several other issues (see related). | Affected Issues 0013850, 0014189 | |
| mod - docbook/Admin_Guide/en-US/Troubleshooting.xml | Diff File | ||
| MantisBT: master-1.2.x 695040ce 2012-04-24 23:02 Details Diff | Documentation: added error 1502 in Troubleshooting guide Affects 0013850, 0014189 and several other issues (see related). | Affected Issues 0013850, 0014189 | |
| mod - docbook/adminguide/en/troubleshooting.sgml | Diff File | ||
| MantisBT: master 30df2f45 2012-05-01 21:10 Details Diff | Documentation: improved troubleshooting for error 1502 Added instructions on how to retrieve the category id | Affected Issues 0013850, 0014189 | |
| mod - docbook/Admin_Guide/en-US/Troubleshooting.xml | Diff File | ||
| MantisBT: master-1.2.x 6e842296 2012-05-01 21:10 Details Diff | Documentation: improved troubleshooting for error 1502 Added instructions on how to retrieve the category id | Affected Issues 0013850, 0014189 | |
| mod - docbook/adminguide/en/troubleshooting.sgml | Diff File | ||
 related to
					related to				 child of
					child of				 duplicate of
					duplicate of				