View Issue Details

IDProjectCategoryView StatusLast Update
0011839mantisbttime trackingpublic2010-07-29 10:45
Reporterwdouglascampbell Assigned Todhx  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Product Version1.2.1 
Target Version1.2.2Fixed in Version1.2.2 
Summary0011839: The "Get Time Tracking Information" button is gone when viewing issues
Description

Upgraded from 1.2.0a3 to 1.2.1 today and the "Get Time Tracking Information" button is gone.

Additional Information

Apparently in fixing issue 0010696, the code for displaying this was removed. The attached patch will add it back in what I hope is the preferred new location.

TagsNo tags attached.
Attached Files
bug_view_inc.php.patch (570 bytes)   
--- bug_view_inc.php.original	2010-04-24 22:58:27.000000000 +0800
+++ bug_view_inc.php	2010-04-24 18:07:19.000000000 +0800
@@ -724,6 +724,12 @@
 	# Allow plugins to display stuff after notes
 	event_signal( 'EVENT_VIEW_BUG_EXTRA', array( $f_bug_id ) );
 
+	# Time Tracking stats
+	if ( config_get('time_tracking_enabled') &&
+		access_has_bug_level( config_get( 'time_tracking_reporting_threshold' ), $f_bug_id ) ) {
+		include( $t_mantis_dir . 'bugnote_stats_inc.php' );
+	}
+
 	# History
 	if ( $tpl_show_history ) {
 		include( $tpl_mantis_dir . 'history_inc.php' );
bug_view_inc.php.patch (570 bytes)   

Activities

dhx

dhx

2010-04-28 23:32

reporter   ~0025342

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

Related Changesets

MantisBT: master-1.2.x e09974c4

2010-04-28 23:11

dhx


Details Diff
Fix 0011839: Get Time Tracking Information button was removed

The "Get Time Tracking Information" button was removed as part of issue
view bug page and allows users to get accumulated totals of time spent
by each developer on a single issue. This is useful for very large
issues with hundreds of comments.

Thanks to Doug Campbell for reporting this issue and providing an
initial patch.
Affected Issues
0011839
mod - bug_view_inc.php Diff File

MantisBT: master 2b24a47a

2010-04-28 23:11

dhx


Details Diff
Fix 0011839: Get Time Tracking Information button was removed

The "Get Time Tracking Information" button was removed as part of issue
view bug page and allows users to get accumulated totals of time spent
by each developer on a single issue. This is useful for very large
issues with hundreds of comments.

Thanks to Doug Campbell for reporting this issue and providing an
initial patch.
Affected Issues
0011839
mod - bug_view_inc.php Diff File