View Issue Details

IDProjectCategoryView StatusLast Update
0004652mantisbtbugtrackerpublic2013-02-25 23:01
Reporterxbromy Assigned Tothraxisp  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Product Version0.19.0 
Fixed in Version0.19.1 
Summary0004652: Fixed in Version not applyed to Bug at CLOSE
Description

The fixed_in_version value is not applyed to the bug at close in the bug_update.php

in:
case CLOSED:

TagsNo tags attached.

Relationships

child of 0004297 closedvboctor Mantis 0.19.1 release 

Activities

xbromy

xbromy

2004-10-01 08:01

reporter   ~0007857

case CLOSED:

bug_close updates the status and bugnote and sends message

----fix start----
bug_set_field( $f_bug_id, 'fixed_in_version', $t_bug_data->fixed_in_version );
----fix end----

bug_close( $f_bug_id, $f_bugnote_text );

break;

thraxisp

thraxisp

2004-10-01 12:20

reporter   ~0007866

How did you find this problem?

In bug_change_status_page, the fixed in version is not visible if the bug is going directly to the closed status. If in the same page, you are going to resolve it and close the bug immediately, the resolve action will pick up the status.

From the bug_update*_page, all fields are updated.

xbromy

xbromy

2004-10-01 12:29

reporter   ~0007867

when you have a bug and set the status to resolved but you leave the fixed_in_version open. and if you then go to the bug and click on change status to closed your're getting the page like the "resolve page" but for "close" and then the data "fixed_in_version"+"closed text" are submittet to the update_bug.php

where my 0.19.0 code is:

case CLOSED:

bug_close updates the status and bugnote and sends message

bug_close( $f_bug_id, $f_bugnote_text ); <-- here is only the status and text
break;

thraxisp

thraxisp

2004-10-04 11:51

reporter   ~0007894

Fixed in CVS.

All changes not go through bug_api:bug_update where any changes are logged. This eliminates a dependency on bug_update.php knowing what fields are listed in bug_change_status_page.php.