View Issue Details

IDProjectCategoryView StatusLast Update
0003598mantisbtbugtrackerpublic2004-02-29 07:17
Reporterbrody Assigned Tovboctor  
PrioritynormalSeveritytweakReproducibilityN/A
Status closedResolutionfixed 
Product Version0.18.1 
Summary0003598: [this installation]bug history: consuming custom fields or not?
Description

When looking into e.g bug#3597, I saw some changes, which are mentioned in the bug history, e.g. switching state and version. If I'm right, the field "Fixed in Release" is a custom field and vboctor's change to the value "0.18.2" is not mentioned in the bug history

Additional Information

I'm right?

TagsNo tags attached.
Attached Files
3598.diff (587 bytes)   
Index: core/custom_field_api.php
===================================================================
RCS file: /cvsroot/mantisbt/mantisbt/core/custom_field_api.php,v
retrieving revision 1.23
diff -u -r1.23 custom_field_api.php
--- core/custom_field_api.php	6 Feb 2004 10:05:38 -0000	1.23
+++ core/custom_field_api.php	24 Feb 2004 23:49:13 -0000
@@ -776,6 +776,7 @@
 					  VALUES
 						( '$c_field_id', '$c_bug_id', '$c_value' )";
 			db_query( $query );
+			history_log_event_direct( $c_bug_id, $t_name, '', $p_value);
 		}
 
 		custom_field_clear_cache( $p_field_id );
3598.diff (587 bytes)   

Activities

vboctor

vboctor

2004-02-24 18:57

manager   ~0005094

Well spotted. In general bug history is working for custom fields. However, when a field is set for the first time, it is not added to the history. This is now fixed in CVS and patch is attached. It will be available in the next release.