I have performed a fresh install of Mantis 2.5.1 in my Laptop and i have been trying to add a simple Custom Status but seems like the customization added is not being recognized. I have been using Mantis 1.2.19 and added custom statuses/roles etc successfully without any issue. I am unable to figure out what is wrong if anything has changed in the way the customization code needs to be added. I would appreciate if anyone can help me point out where i have gone wrong.
OS: Windows 7
Mantis Version:2.5.1
XAMPP: 5.6.24(xampp-win32-5.6.24-1-VC11-installer)
Apache/2.4.23 (Win32) OpenSSL/1.0.2h PHP/5.6.24
Database client version: libmysql - mysqlnd 5.0.11-dev - 20120503 - $Id: 76b08b24596e12d4553bd41fc93cccd5bac2fe7a $
PHP extension: mysqli
PHP version: 5.6.24
1.Installed XAMPP and then installed Mantis 2.5.1
2. Reference Link: http://www.mantisbt.org/docs/master-1.2 ... tatus.html
In HTDOCS added
Code: Select all
a) custom_constants_inc.php
<?php
# Custom status code
define( 'TESTING', 60 );
Code: Select all
<?php
# Revised enum string with new 'testing' status
$g_status_enum_string = '10:new,20:feedback,30:acknowledged,40:confirmed,50:assigned,60:testing,80:resolved,90:closed';
# Status color additions
$g_status_colors['testing'] = '#ACE7AE';
Code: Select all
<?php
# Translation for Custom Status Code: testing
switch( $g_active_language ) {
case 'french':
$s_status_enum_string = '10:nouveau,20:commentaire,30:accepté,40:confirmé,50:affecté,60:à tester,80:résolu,90:fermé';
$s_testing_bug_title = 'Mettre le bogue en test';
$s_testing_bug_button = 'A tester';
$s_email_notification_title_for_status_bug_testing = 'Le bogue suivant est prêt à être TESTE.';
break;
default: # english
$s_status_enum_string = '10:new,20:feedback,30:acknowledged,40:confirmed,50:assigned,60:testing,80:resolved,90:closed';
$s_testing_bug_title = 'Mark issue Ready for Testing';
$s_testing_bug_button = 'Ready for Testing';
$s_email_notification_title_for_status_bug_testing = 'The following issue is ready for TESTING.';
break;
}
I have tried following the Mantis Bug Tracker Administration Guide for adding custom access level as well but the result was the same. Maybe i am wrong but the files i have added seemed not to be considered. How could i check the same?[/color]