View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0021755 | mantisbt | customization | public | 2016-10-05 08:56 | 2016-10-16 16:10 |
| Reporter | piotrusx | Assigned To | atrol | ||
| Priority | normal | Severity | minor | Reproducibility | always |
| Status | closed | Resolution | no change required | ||
| Product Version | 1.3.2 | ||||
| Summary | 0021755: add status problem | ||||
| Description | Hello, | ||||
| Tags | No tags attached. | ||||
| Attached Files | config_inc.php (2,472 bytes)
<?php
$g_hostname = 'localhost';
$g_db_type = 'mysqli';
$g_database_name = 'xxx';
$g_db_username = 'xxx';
$g_db_password = 'xxx';
$g_default_language = 'polish';
$g_webmaster_email = 'xxx';
$g_from_email = 'xxx';
$g_return_path_email = 'xxx';
$g_from_name = 'Support System';
$g_log_destination = 'file:/var/log/mantis/mantis.log';
# $g_log_level = LOG_AJAX | LOG_EMAIL | LOG_WEBSERVICE;
$g_log_level = LOG_NONE;
$g_allow_signup = OFF;
$g_window_title = 'Support';
$g_logo_image = 'logo.jpg';
$g_max_file_size = 15000000;
$g_default_timezone = 'Europe/Warsaw';
$g_crypto_master_salt = 'xxx';
$g_show_avatar = ON;
$g_path = 'https://xxx/';
$g_allow_permanent_cookie = OFF;
$g_show_realname = ON;
$g_max_failed_login_count = 3;
$g_show_version = OFF;
$g_enable_profiles = OFF;
$g_view_changelog_threshold = NOBODY;
$g_roadmap_view_threshold = NOBODY;
$g_default_category_for_moves = 8;
$g_core_path = '/usr/local/mantis/core/';
$g_config_path = '/usr/local/mantis/config/';
$g_class_path = '/usr/local/mantis/core/classes/';
$g_library_path = '/usr/local/mantis/library/';
$g_language_path = '/usr/local/mantis/lang/';
$g_status_enum_string = '10:new,20:feedback,30:acknowledged,40:confirmed,50:assigned,60:testing,80:resolved,90:closed';
$g_status_colors['testing'] = '#ACE7AE';
$g_status_enum_workflow[NEW_] ='30:acknowledged,20:feedback,40:confirmed,50:assigned,80:resolved';
$g_status_enum_workflow[FEEDBACK] ='30:acknowledged,40:confirmed,50:assigned,80:resolved';
$g_status_enum_workflow[ACKNOWLEDGED] ='40:confirmed,20:feedback,50:assigned,80:resolved';
$g_status_enum_workflow[CONFIRMED] ='50:assigned,20:feedback,30:acknowledged,80:resolved';
$g_status_enum_workflow[ASSIGNED] ='60:testing,20:feedback,30:acknowledged,40:confirmed,80:resolved';
$g_status_enum_workflow[TESTING] ='80:resolved,20:feedback,50:assigned';
$g_status_enum_workflow[RESOLVED] ='90:closed,20:feedback,50:assigned';
$g_status_enum_workflow[CLOSED] ='20:feedback,50:assigned';
$g_bug_report_page_fields = array(
'category_id',
'reproducibility',
'severity',
'priority',
'summary',
'description',
'additional_info',
'attachments',
'due_date',
'view_state',
'handler',
);
?>
custom_strings_inc.php (856 bytes)
<?php
# Translation for Custom Status Code: testing
switch( $g_active_language ) {
case 'polish':
$s_status_enum_string = '10:nowy,20:zwrócony,30:uznany,40:potwierdzony,50:przypisany,60:testowanie,80:rozwiązany,90:zamknięty';
$s_testing_bug_title = 'Oznacz zgłoszenie jako gotowe do testowania';
$s_testing_bug_button = 'Gotowe do testu';
$s_email_notification_title_for_status_bug_testing = 'Następujące zgłoszenie jest gotowe do testowania.';
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;
}
| ||||
|
Which version of MantisBT do you use? |
|
|
1.3.2 |
|
|
This is the right documentation for 1.3.x You have to put file custom_strings_inc.php in folder config of your installation. It's not documented at all places of the admin guide. |
|
|
I put this file in config folder but it doesn't work still... |
|
|
Please attach the relevant changes in configinc.php and the custom* files |
|
|
I am not able to reproduce the issue, see attached MantisStatus.PNG You should double check, that you put the files in the right folder |
|
|
I copied custom_strings_inc.php and new config to '/usr/local/mantis/config/' |
|