View Issue Details

IDProjectCategoryView StatusLast Update
0013208mantisbtbugtrackerpublic2011-08-29 07:05
Reportergthomas Assigned Toatrol  
PrioritynormalSeveritycrashReproducibilityalways
Status closedResolutionduplicate 
Summary0013208: copypaste error introduced in aea5691d20595951e49857a4e91b343b27ae98ca
Description

This manifests in "Application Error #1100" when the user has such user_id which is not an existing bug id.

Steps To Reproduce

Use a user_id which is not an existing bug_id, and click on any issue link on the My View page.

Additional Information

diff --git a/core/history_api.php b/core/history_api.php
index 4bdd686..3d93c21 100644
--- a/core/history_api.php
+++ b/core/history_api.php
@@ -189,7 +189,7 @@ function history_get_raw_events_array( $p_bug_id, $p_user_id = null ) {
continue;
}

  • if ( ( $v_field_name == 'handler_id' ) && !access_has_bug_level( $t_show_handler_threshold, $t_user_id ) ) {
  • if ( ( $v_field_name == 'handler_id' ) && !access_has_bug_level( $t_show_handler_threshold, $p_bug_id, $t_user_id ) ) {
    continue;
    }
    }
TagsNo tags attached.

Relationships

duplicate of 0013190 closedvboctor View page doesn't honor view_handler_threshold threshold 

Activities

atrol

atrol

2011-08-04 16:46

developer   ~0029365

This is a known bug, which has been introduced after 1.2.6
https://github.com/mantisbt/mantisbt/commit/aea5691d20595951e49857a4e91b343b27ae98ca#commitcomment-504861