Will installing the new version affect changes I have made?

Get help from other users here.

Moderators: Developer, Contributor

Post Reply
Jcale1QA
Posts: 19
Joined: 18 Sep 2013, 15:56

Will installing the new version affect changes I have made?

Post by Jcale1QA »

Hello.
I am using Mantis 1.2.15 Schema 183.
when I installed mantis about 2 years ago, I made some minor changes to two .php files as shown below.
Will upgrading to the new Mantis 1.2.19 mean that I need to perform these changes again?

Step 1)
Remove custom_constants_inc.php (we don't need it as we will use the Manage Workflow Transitions page if there is any change needed)

Step 2)
Add the following lines to file config_inc.php
Code: Select all # Customize workflow status
$g_status_enum_string = '10:new,30:acknowledged,35:fixed,45:deployed,55:review,65:bug remains,75:rejected,85:deferred,90:closed';

# Needed as you don't want the status "assigned"
$g_auto_set_status_to_assigned = OFF;

# Customize status colors
$g_status_colors['new'] = '#FFFFFF';
$g_status_colors['acknowledged'] = '#FF99CC';
$g_status_colors['fixed'] = '#CCFFFF';
$g_status_colors['deployed'] = '#66FF33';
$g_status_colors['review'] = '#FFFF33';
$g_status_colors['bug remains'] = '#FF9933';
$g_status_colors['rejected'] = '#66CCCC';
$g_status_colors['deferred'] = '#9999CC';
$g_status_colors['closed'] = '#C8C8C8';

Step 3)
Create a new custom_strings_inc.php with the following content
Code: Select all<?php
$s_status_enum_string = '10:new,30:acknowledged,35:fixed,45:deployed,55:review,65:bug remains,75:rejected,85:deferred,90:closed';

# Customize status fixed
$s_fixed_bug_button = 'fixed';
$s_fixed_bug_title = 'Set Issue to fixed';
$s_email_notification_title_for_status_bug_fixed = 'The following issue has been fixed, but is not yet deployed';

# Customize status deployed
$s_deployed_bug_button = 'deployed';
$s_deployed_bug_title = 'Set Issue to deployed';
$s_email_notification_title_for_status_bug_deployed = 'The following issue is now deployed';

# Customize

[see also http://www.mantisbt.org/forums/viewtopi ... =3&t=21695]
atrol
Site Admin
Posts: 8366
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: Will installing the new version affect changes I have ma

Post by atrol »

Upgrade from 1.2.15 to 1.2.19 is quite easy as there are no database schema changes.

- Download MantisBT 1.2.19
- Unpack to a new directory
- Copy config_inc.php and custom_strings_inc.php from your existing installation to the new version
- Rename your old version (e.g. mv mantisbt mantisbt.old)
- Rename the new version (e.g. mv mantisbt-1.2.19 mantisbt)
- After all all is working fine for some days, delete your old version.
Please use Search before posting and read the Manual
Post Reply