Page 1 of 1
removing a status
Posted: 03 Jun 2008, 18:35
by danb
Hi,
we've been using Mantis for a while now and have made afew custom changes to our installation with success.
One we made was to remove the 'resolved' status (not my choice) and keep only the 'closed' status.
It seems to work fine except for one very small detail: when you view an existing issue, the 'change status to:' drop down combo box now contains a '@80@' choice we can't get rid of.
I know that that 80 refers to the value 'resolved' had but I can't see how it gets there. I looked everywhere to no avail.
It's no big deal (we never select that value) but I am curious.
Anyone knows?
Cheers
Re: removing a status
Posted: 06 Jun 2008, 07:47
by vboctor
Did you remove it from the status enumation value that is defined in config_defaults_inc.php? You will need to override this value in config_inc.php.
Re: removing a status
Posted: 06 Jun 2008, 12:10
by danb
Indeed.
It's been removed from the $g_status_enum_string in config_inc.php only.
Also the $g_status_enum_workflow array has been modified accordingly so there's no more reference to that status.
AFAIK this 'Change to Status' field is the only place where @80@ appears. I can't see where that value comes from.
D
Re: removing a status
Posted: 09 Jun 2008, 06:46
by deboutv
Check that page http://.../mantis/adm_config_report.php and look if you have status_enum_workflow in the table. If yes, remove it.
Re: removing a status
Posted: 11 Jun 2008, 13:44
by danb
I see no such file in my installation.
I searched for 'status_enum_workflow' but only found it in config files. I did find STRINGS but no such variable elsewhere.
A bug in Mantis? Anyone experienced this before?
Re: removing a status
Posted: 11 Jun 2008, 13:51
by danb
I see no such file in my installation.
I searched for 'status_enum_workflow' but only found it in config files. I did find STRINGS but no such variable elsewhere.
A bug in Mantis? Anyone experienced this before?
Re: removing a status
Posted: 11 Jun 2008, 14:32
by danb
I see no such file in my installation.
I searched for 'status_enum_workflow' but only found it in config files. I did find STRINGS but no such variable elsewhere.
A bug in Mantis? Anyone experienced this before?
Re: removing a status
Posted: 29 Jun 2008, 20:32
by vboctor
What is your Mantis verison?
I've just checked the latest Mantis code. I did the following:
1. Set the following in config_inc.php
Code: Select all
$g_status_enum_string = '10:new,20:feedback,30:acknowledged,40:confirmed,90:closed';
2. Opened a bug for viewing.
3. Checked out the Change Status drop down and the "assigned" / "resolved" were not there.
So it is either a bug that was already fixed (in 1.2.x, I haven't tested on 1.1.x) or it is specific to your installation.
Re: removing a status
Posted: 08 Jul 2008, 13:19
by duwil
Since I misunderstood the topic, I deleted my post: it was inconsistent.
Sorry
---
Re: removing a status
Posted: 01 Sep 2008, 08:40
by autra
Mantis displays @Number@ when it finds something it cannot display.
You suppress the 80:resolved, but I think it is still in the workflow. So mantis cannot display it because you suppress it, but try to do it because you set it up in the workflow (maybe).
go to manage > manage configuration > configuration report and look at the table If a status_enum_workflow is here, suppress it (you must do that as admin account).
Then check config_default_inc.php or config_inc.php and check $g_status_enum_workflow. if a 80 or 80:resolved appear in it and is not commented, suppress it.