View Issue Details

IDProjectCategoryView StatusLast Update
0012431mantisbtdb mysqlpublic2012-02-06 11:42
Reporterfonnnnnn Assigned Toatrol  
PriorityhighSeveritymajorReproducibilityalways
Status closedResolutionno change required 
PlatformlinuxOSCentOSOS Version5.4
Product Version1.2.3 
Summary0012431: APPLICATION ERROR 0001502 Category not found.
Description

i have a problem with role of administrator
every user (with are administrator role) when log on successful

it displays "APPLICATION ERROR 0001502
Category not found.

Please use the "Back" button in your web browser to return to the previous page. There you can correct whatever problems were identified in this error or select another action. You can also click an option from the menu bar to go directly to a new section."

i cannot visit "view_all_bug_page.php and my_view_page.php" but other pages it works.

i found that the database has a problem (i remove folder mantis to test other server and it not occur again.) but i don't know which tables that has a problem and what should i do to solve this?

any idea?

thanks

TagsNo tags attached.

Relationships

related to 0013850 closeddregad Moving from project to project causes application error 1502 

Activities

fonnnnnn

fonnnnnn

2010-10-07 04:36

reporter   ~0026990

i found the solution.

Because of some project error so i cannot view bug reports.

i cannot view all project, but some project works.

Delete project that cause error can solve this.

i will share this for someone who has same problem with me.

thanks all,

atrol

atrol

2010-10-10 15:07

developer   ~0027003

Does your note mean that the issue can be closed?

fonnnnnn

fonnnnnn

2010-10-12 00:03

reporter   ~0027010

i don't know the cause of an error project , i think it may be result of my error config or installation of some plugin. You can close this issue.

jentywang

jentywang

2011-04-17 04:08

reporter   ~0028633

I also find this issue, I try to move a issue from one projcet to anther, this happened. Two projects have diffent category. One project's category comes from global setting, Another's is defined for it's own.

fonnnnnn

fonnnnnn

2011-04-17 06:40

reporter   ~0028634

Last edited: 2011-04-17 06:41

How do you do to move your issue?

fonnnnnn

fonnnnnn

2011-04-17 06:43

reporter   ~0028635

Do you have any backup of your database?
I write script to backup database folder everyday so i can back to the previous.

cor3huis

cor3huis

2011-04-18 04:40

reporter   ~0028640

I have the same issue. It happend after I moved an issue to another project. It was a Normal operation every user can do. Since I hardly use Move before I never noticed before. The issue happned if the target project possibly did not contain the category in the original bug. It is quite some serious bug IMHO. I could solve it by directly manipulating the Database values and delete some. But I do not expect others to be able to do that.

Th issue was
APPLICATION ERROR 0001502

Category not found.

Please use the "Back" button in your web browser to return to the previous page. There you can correct whatever problems were identified in this error or select another action. You can also click an option from the menu bar to go directly to a new section.

LeonardChallis

LeonardChallis

2011-05-24 10:18

reporter   ~0028832

I had this same issue, when trying to copy several issues from various projects to a new project that didn't have the same categories. I made the categories in the new project and tried to resubmit, but it seemed to still have problems, and got the same APPLICATION ERROR # 1502

I went in and saw one of the bugs had a category ID of 1 in the mantis_bug_table so manually changed that to be the same as the others in that project and everything sprang to life

Anders

Anders

2011-06-28 11:57

reporter   ~0029075

Last edited: 2011-06-28 12:05

This issue is NOT resolved but I receive Access Denied message when attempting to re-open.

MantisBT Version 1.2.5
Schema Version 183

I'm using a new install of this version that had been working fine. I was playing with categories and projects as I try and understand the best architecture. At one point I moved an issue from a project into a sub-project. I believe it asked for a category and I selected and then the Issue essentially became corrupt. I am unable to access it or any page that tries to display it, giving the aforementioned issue application error.

I'm going to try and manually edit the database because actually accessing the ticket to correct the problem seems impossible.

--

Okay, confirmed, manually editing the MySQL mantis_bug_table, choosing the offending issue ID, and then setting it's category id value to a known good value fixed the issue. I'm not sure how it was corrupted in the first place, apparently MantisBT allows invalid Category IDs to be set on Move action.

magnusberglund

magnusberglund

2011-07-08 08:49

reporter   ~0029134

I did the exact same thing as LeonardChallis, it showed the exact same error. I also encountered an entry in the mantis_bug_table with category_id set to 1, as soon as I updated it manually, everything started working again.

I moved 2 bugs between categories, but only 1 of the bugs got the category_id set to 1.

Our mantis version number is 1.2.5.

atrol

atrol

2011-07-08 09:21

developer   ~0029135

Please check if the attached patch at 0013007 fixes the problem