View Issue Details

IDProjectCategoryView StatusLast Update
0010814mantisbtbugtrackerpublic2009-10-07 14:19
Reporterdhx Assigned Todhx  
PrioritynormalSeveritymajorReproducibilityalways
Status closedResolutionfixed 
Product Versiongit trunk 
Target Version1.2.0rc2Fixed in Version1.2.0rc2 
Summary0010814: Reproducibility column in view issues causes an undefined variable error
Description

Add the reproducibility column to the list of columns you want to view on view_all_bug_page.php and you'll get the following error:

Undefined variable: p_bug

Full path: /var/www/localhost/htdocs/mantis-git/core/columns_api.php
Line: 1060
Variable Value Type
p_columns_target 1 integer

Relevant part of the backtrace:
/var/www/localhost/htdocs/mantis-git/core/custom_function_api.php 333 - - print_column_reproducibility ( <Object><BugData> ( [attachment_count] => NULL, [bugnotes_count] => NULL, [bug_text_id] => '172' ), <integer>1 )

        • custom_function_default_print_column_value ( <string>'reproducibility', <Object><BugData> ( [attachment_count] => NULL, [bugnotes_count] => NULL, [bug_text_id] => '172' ) )
          /var/www/localhost/htdocs/mantis-git/core/helper_api.php 325 - - call_user_func_array ( <string>'custom_function_default_print_column_value', <Array> { [0] => 'reproducibility', [1] => <Object><BugData> ( [attachment_count] => NULL, [bugnotes_count] => NULL, [bug_text_id] => '172' ) } )
          /var/www/localhost/htdocs/mantis-git/view_all_inc.php 208 - - helper_call_custom_function ( <string>'print_column_value', <Array> { [0] => 'reproducibility', [1] => <Object><BugData> ( [attachment_count] => NULL, [bugnotes_count] => NULL, [bug_text_id] => '172' ) } )
TagsNo tags attached.

Activities

There are no notes attached to this issue.

Related Changesets

MantisBT: master-1.2.x 6db161f1

2009-08-07 23:31

dhx


Details Diff
Fix 0010814: reproducibility column undefined variable error

When adding the reproducibility column to the view issues list, an
undefined $p_bug variable error occurs.

This is just a simple case of the first argument to
print_column_reproducibility having the wrong name (most likely it was
missed during an earlier upgrade to bug_api).
Affected Issues
0010814
mod - core/columns_api.php Diff File

MantisBT: master 5eb124ea

2009-08-07 23:31

dhx


Details Diff
Fix 0010814: reproducibility column undefined variable error

When adding the reproducibility column to the view issues list, an
undefined $p_bug variable error occurs.

This is just a simple case of the first argument to
print_column_reproducibility having the wrong name (most likely it was
missed during an earlier upgrade to bug_api).
Affected Issues
0010814
mod - core/columns_api.php Diff File