View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0007823 | mantisbt | change log | public | 2007-03-14 17:07 | 2007-05-08 03:42 |
Reporter | tmqmtf | Assigned To | zakman | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Product Version | 1.1.0a1 | ||||
Fixed in Version | 1.1.0a3 | ||||
Summary | 0007823: APPLICATION ERROR #1100 Issue 0 not found in change_log page with access-level 'reporter' | ||||
Description | After sucessful login, the user with access-level 'reporter' navigates to the change_log-page. The page shows no solved bug, but only an Application-Error If I change the $g_limit_reporters to 'OFF', all the solved bugs are shown. | ||||
Steps To Reproduce | a) in config_inc.php set the flag $g_limit_reporters = ON; | ||||
Tags | No tags attached. | ||||
Attached Files | roadmap_page.php.diff (851 bytes)
--- D:/xampp/xampp/htdocs/mantis/roadmap_page.php Sat Dec 23 18:54:18 2006 +++ D:/xampp/xampp/htdocs/mantis_dev/roadmap_page.php Thu Mar 15 19:23:19 2007 @@ -107,7 +107,7 @@ while ( $t_row = db_fetch_array( $t_result ) ) { # hide private bugs if user doesn't have access to view them. - if ( !$t_can_view_private && ( $t_result->fields['view_state'] == VS_PRIVATE ) ) { + if ( !$t_can_view_private && ( $t_row['view_state'] == VS_PRIVATE ) ) { continue; } @@ -116,7 +116,7 @@ # check limit_Reporter (Issue #4770) # reporters can view just issues they reported if ( ON === $t_limit_reporters && $t_user_access_level_is_reporter && - !bug_is_user_reporter( $t_result->fields['id'], $t_user_id )) { + !bug_is_user_reporter( $t_row['id'], $t_user_id )) { continue; } changelog_page.php.diff (855 bytes)
--- D:/xampp/xampp/htdocs/mantis/changelog_page.php Fri Apr 21 00:29:56 2006 +++ D:/xampp/xampp/htdocs/mantis_dev/changelog_page.php Thu Mar 15 19:05:02 2007 @@ -104,7 +104,7 @@ while ( $t_row = db_fetch_array( $t_result ) ) { # hide private bugs if user doesn't have access to view them. - if ( !$t_can_view_private && ( $t_result->fields['view_state'] == VS_PRIVATE ) ) { + if ( !$t_can_view_private && ( $t_row['view_state'] == VS_PRIVATE ) ) { continue; } @@ -113,7 +113,7 @@ # check limit_Reporter (Issue #4770) # reporters can view just issues they reported if ( ON === $t_limit_reporters && $t_user_access_level_is_reporter && - !bug_is_user_reporter( $t_result->fields['id'], $t_user_id )) { + !bug_is_user_reporter( $t_row['id'], $t_user_id )) { continue; } | ||||