View Issue Details

IDProjectCategoryView StatusLast Update
0011840mantisbttime trackingpublic2010-07-29 10:45
Reporterwdouglascampbell Assigned Todhx  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Product Version1.2.1 
Target Version1.2.2Fixed in Version1.2.2 
Summary0011840: Clicking "Get Time Tracking Information" button raises APPLICATION ERROR #200
Description

When viewing an issue, if you click the "Get Time Tracking Information" button, you will get APPLICATION ERROR #200. This was actually a problem in version 1.2.0a3 as well.

Additional Information

I was able to fix this with the attached patch.

TagsNo tags attached.
Attached Files
bugnote_stats_inc.php.patch (584 bytes)   
--- bugnote_stats_inc.php.original	2010-04-24 23:06:58.000000000 +0800
+++ bugnote_stats_inc.php	2010-04-24 18:27:26.000000000 +0800
@@ -63,7 +63,7 @@ if ( ON != config_get('time_tracking_ena
 ?>
 <form method="post" action="<?php echo $_SERVER['SCRIPT_NAME'] ?>">
 <?php # CSRF protection not required here - form does not result in modifications ?>
-<input type="hidden" name="bug_id" value="<?php echo $f_bug_id ?>" />
+<input type="hidden" name="id" value="<?php echo $f_bug_id ?>" />
 <table border=0 class="width100" cellspacing="0">
 <tr>
 	<td class="form-title" colspan="4">
bugnote_stats_inc.php.patch (584 bytes)   

Activities

dhx

dhx

2010-04-28 23:32

reporter   ~0025343

Thanks Doug, I've applied a slightly modified patch ready for the 1.2.2 release.

Related Changesets

MantisBT: master-1.2.x b666090f

2010-04-28 23:22

dhx


Details Diff
Fix 0011840: bugnote_stats_inc uses old parameters to view.php

bugnote_stats_inc.php relied upon old parameters to view.php (bug_id
instead of id) and thus would raise errors.

Thanks to Doug Campbell for assistance with solving this issue.
Affected Issues
0011840
mod - bugnote_stats_inc.php Diff File

MantisBT: master 1c98587f

2010-04-28 23:22

dhx


Details Diff
Fix 0011840: bugnote_stats_inc uses old parameters to view.php

bugnote_stats_inc.php relied upon old parameters to view.php (bug_id
instead of id) and thus would raise errors.

Thanks to Doug Campbell for assistance with solving this issue.
Affected Issues
0011840
mod - bugnote_stats_inc.php Diff File