Delete status "Feedback"

General discussion of Mantis.

Moderators: Developer, Contributor

Post Reply
math_k

Delete status "Feedback"

Post by math_k »

Hello,

In my project I want to delete the status "feedback".
I delete the value in string_french.txt.
I delete the value in config_default_value.php :

Code: Select all

 $g_status_enum_string				= '10:new,50:assigned,80:resolved,90:closed';
Now, in the homepage I see only these status -->perfect
Image


But when I want to modify a bug, i see "@20@,@30@..." in the value.
Image


What i missed?
atrol
Site Admin
Posts: 8575
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: Delete status "Feedback"

Post by atrol »

You should never change any of the files which are deliverd with MantisBT-
Step 1) Undo all your changes.
Setp 2) Add the following line to file config_inc.php

Code: Select all

$g_status_enum_string = '10:new,30:acknowledged,40:confirmed,50:assigned,60:testing,80:resolved,90:closed';
Please use Search before posting and read the Manual
math_k

Re: Delete status "Feedback"

Post by math_k »

Hi atrol,

Initialy, I do my change in config_inc.php and it's works for the home page, but not in my second screen. So I try in config_default_value.php. Same result.
I'm sorry for this change.

Like you advise me I undo all my changes in config_default_value.php and add the line in config_inc.php, but I see no change. :(
atrol
Site Admin
Posts: 8575
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: Delete status "Feedback"

Post by atrol »

math_k wrote: config_default_value.php
Is this a typo and you mean config_defaults_inc.php?
Please use Search before posting and read the Manual
math_k

Re: Delete status "Feedback"

Post by math_k »

Yes it's a mistake, I want to say config_default_inc.php :wink:
atrol
Site Admin
Posts: 8575
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: Delete status "Feedback"

Post by atrol »

Should have been

Code: Select all

$g_status_enum_string = '10:new,30:acknowledged,40:confirmed,50:assigned,80:resolved,90:closed';
Please use Search before posting and read the Manual
math_k

Re: Delete status "Feedback"

Post by math_k »

Hi Atrol,

In my case I choose only

Code: Select all

$g_status_enum_string            = '10:new,50:assigned,80:resolved,90:closed';
But like I said, I see no change in the pick list when I want to modify a bug :(
atrol
Site Admin
Posts: 8575
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: Delete status "Feedback"

Post by atrol »

Are you really sure that you changed the right file?
Maybe there is more than one installation on your system?

Maybe you override the settings in database?
Check page Manage > Manage Configuration.
Is there any entry where "Configuration Option" has value status_enum_string?

I was not able to reproduce your problem with a fresh install of the latest stable version of MantisBT (1.2.15 at the moment).
You should provide detailed, step-by-step instructions to reproduce the issue. Additional information listed below may also be useful:

- Exact version of MantisBT, PHP, Database, Web server and Operating System
- Relevant customizations (e.g. changes in config_inc.php, etc)
- Installed plugins or custom functions ?
- Was the MantisBT source code modified in any way ?
Please use Search before posting and read the Manual
Post Reply