View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0003940 | mantisbt | bugtracker | public | 2004-06-15 12:11 | 2004-08-29 02:27 |
Reporter | Undergrid | Assigned To | grangeway | ||
Priority | normal | Severity | major | Reproducibility | always |
Status | closed | Resolution | duplicate | ||
Product Version | git trunk | ||||
Summary | 0003940: Deleteing a user causes error 0000801 in bug with user in history. | ||||
Description | If you delete a user that has caused entries in the history for one or more bugs, viewing those bugs cause a system error 0000801 and you are unable to access the bug at all. | ||||
Steps To Reproduce | Create a user with suitable permissions. | ||||
Additional Information | The deleted accounts id is stored in the user_id field in mantis_bug_history_table. When the bug_view_page.php page (and possibly other) tried to render the history list it tries to lookup the ID to get the realname. If the account doesn't exist the above mentioned error is displayed. Removing all entries in the mantis_bug_history_table for the specified user_id allowed access to the bug. I also found the user ID of the deleted user in the user_id field of the mantis_bug_monitor_table, I havn't confirmed yet if this is an issue, however since the user has been deleted he wouldn't be able to receive bug updates anyway. | ||||
Tags | No tags attached. | ||||