View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0012480 | mantisbt | bugtracker | public | 2010-10-25 05:24 | 2014-02-07 18:24 |
Reporter | darylhurst | Assigned To | dregad | ||
Priority | normal | Severity | text | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Product Version | 1.2.3 | ||||
Target Version | 1.2.16 | Fixed in Version | 1.2.16 | ||
Summary | 0012480: Editing a bug with no assigned user and no access to edit assigned to field shows 'user0' | ||||
Description | If a user of role updater edits a record with no assigned user then the 'Assigned To' field shows as 'user0'. | ||||
Steps To Reproduce | Create new bug with status 'new' but don't assign to any user. | ||||
Additional Information | Appears to be a simple bug in either the user_get_name function in core/user_api.php or within bug_update_advanced_page.php. $tpl_handler_name = ( 0 == $tpl_bug->handler_id ) ? '' : string_display_line( user_get_name( $tpl_bug->handler_id ) ); | ||||
Tags | No tags attached. | ||||
I've stumbled on this issue too. In fact, it happens to any user that can access the "edit" page of a bug, but doesn't have a high enough acces level to edit the "Assigned to" field. Edit:
|
|
MantisBT: master-1.2.x d67d9bd1 2013-09-26 08:24 Details Diff |
Display blank instead of 'user0' in Assigned to field When a user lacking the 'update_bug_assign_threshold' privilege (e.g. updater) tries to edit an issue that has no handler, the 'Assigned to' field shows 'user0' instead of a blank field as expected. Fixes 0012480 |
Affected Issues 0012480 |
|
mod - bug_update_advanced_page.php | Diff File | ||
MantisBT: master 42d19a11 2013-09-26 08:24 Details Diff |
Display blank instead of 'user0' in Assigned to field When a user lacking the 'update_bug_assign_threshold' privilege (e.g. updater) tries to edit an issue that has no handler, the 'Assigned to' field shows 'user0' instead of a blank field as expected. Fixes 0012480 |
Affected Issues 0012480 |
|
mod - bug_update_advanced_page.php | Diff File |