Application error 300 with customized statuses

Get help from other users here.

Moderators: Developer, Contributor

Post Reply
redjen
Posts: 6
Joined: 01 Mar 2006, 00:35

Application error 300 with customized statuses

Post by redjen »

I'm using Mantis version 1.0.0. I've customized my Mantis reslutions, severities, and statuses. The resolutions and severities are working fine; however, my statuses are not working correctly. When I change status now, I get an error message that states "APPLICATION WARNING #300: String 'in_progress_bug_title' not found" (with the name of the appropriate status substituted in). However, I can set the status successfully, and sort on them.

Here are the relevant sections of config files:

custom_strings.php
$s_status_enum_string = '10:new,20:in progress,30:on hold,45:reported to AL,80:resolved,90:closed';

custom_constants.php
# status
define( 'IN_PROGRESS', 20);
define( 'ON_HOLD', 30);
define( 'REPORTED_TO_AL', 45);

config_inc.php
$g_status_enum_string = '10:new,20:in_progress,30:on_hold,45:reported_to_al,80:resolved,90:closed';[/code]

What am I doing wrong?
benoit.btd
Posts: 2
Joined: 05 Jun 2006, 07:41

Post by benoit.btd »

You have to provide the following var in your lang files:
s_<custom_status>_bug_button
s_<custom_status>_bug_title

edit: this late response are for those who like me will encountered the same problem ;)
Post Reply