Resolution on Resolved => Closed transition with 1.3.x

General discussion of Mantis.

Moderators: Developer, Contributor

Post Reply
gufav
Posts: 1
Joined: 02 Nov 2016, 14:01

Resolution on Resolved => Closed transition with 1.3.x

Post by gufav »

Hello

My company has been using Mantis 1.2.x for several years.
We were used to fill resolution field when switching from Assigned to Resolved state.
Then field was not displayed when switching from Resolved to Closed state, except if resolution was "open" or "reopen"

We updgraded to 1.3.2 a few weeks ago and noticed that resolution field is now displayed systematically when moving from Resolved to Closed state, with "fixed" displayed by default.
As a consequence, an issue that has been resolved as "not reproducible" would be closed as "fixed" if we do not pay attention to revise the field.
This change is quite disturbing for us and we do not understand the reason for forcing resolution to "fixed".
We would prefer at least that the resolution defined when resolving issue is kept selected in drop down list when closing issue (instead of fixed) so it is changed only on purpose.
Is this something that may be improved in further versions ?

For now we updated bug_changed_status_page.php as follows (line 161) to retrieve the behaviour from 1.2.x :
#$t_bug_is_open = $t_current_resolution < $t_resolved;
$t_bug_is_open = in_array( $t_current_resolution, array( config_get( 'default_bug_resolution' ), config_get( 'bug_reopen_resolution' ) ) );

Thanks for your feedback

Regard
Guillaume
Post Reply