Manage Configuration

Get help from other users here.

Moderators: Developer, Contributor

Post Reply
skibumm101
Posts: 40
Joined: 07 Jun 2006, 16:33

Manage Configuration

Post by skibumm101 »

Im lost here, I am using 1.1.1 and trying to set a couple of enumerations using the new manage configuration.

Here is my old string from custom_strings_inc.php
$s_severity_enum_string = '10:Enhancement,20:Low,30:Medium,40:high,50:Critical,60:Custom,70:,80:';

This is the array that i use

array (
'10:Enhancement,
20:Low,
30:Medium,
40:high,
50:Critical,
60:Custom,
70:,
80:,');

i use complex as type

after i create it, this is what is in the config list

array (
0 => '10:Enhancement,
20:Low,
30:Medium,
40:high,
50:Critical,
60:Custom,
70:,
80:,',
)

what am i doing wrong
skibumm101
Posts: 40
Joined: 07 Jun 2006, 16:33

Re: Manage Configuration

Post by skibumm101 »

I dont mind reading if anybody could point me to a place that instructs on using this new feature of 1.1.1
seiji
Posts: 15
Joined: 03 Nov 2007, 09:43
Location: Chiba, Japan

Re: Manage Configuration

Post by seiji »

This is the array that i use

array (
'10:Enhancement,
20:Low,
30:Medium,
40:high,
50:Critical,
60:Custom,
70:,
80:,');
Try to use the following array.

Code: Select all

array(
    10 => 'Enhancement',
    20 => 'Low',
     :
    70 => '',
    80 => ''
);
skibumm101
Posts: 40
Joined: 07 Jun 2006, 16:33

Re: Manage Configuration

Post by skibumm101 »

well tried this

array (
10 => 'Enhancement',
20 => 'Low',
30 => 'Medium',
40 => 'High',
50 => 'Critical',
60 => 'Custom',
70 => ' ',
80 => ' ',
);

did not work
receive
@array@ in the severity box

any other ideas?
seiji
Posts: 15
Joined: 03 Nov 2007, 09:43
Location: Chiba, Japan

Re: Manage Configuration

Post by seiji »

Configuration Option: severity_enum_string
type: string
value: 10:Enhancement,20:Low,30:Medium,40:high,50:Critical,60:Custom,70:,80:
skibumm101
Posts: 40
Joined: 07 Jun 2006, 16:33

Re: Manage Configuration

Post by skibumm101 »

did not work either.
did not get any error, just didn't change anything

is there any type of documentation for this new feature? is this a bug?
skibumm101
Posts: 40
Joined: 07 Jun 2006, 16:33

Re: Manage Configuration

Post by skibumm101 »

any body
Matze2
Posts: 8
Joined: 30 Jul 2008, 15:24

Re: Manage Configuration

Post by Matze2 »

Hi,

did anyone find a solution for setting up other severites via the web interface?

I spend hours and hours but I only get @array@ in the severity box...

Thank you for a littele tipp...

Regards
Matze
jtornadojr
Posts: 12
Joined: 30 Jul 2008, 15:55

Re: Manage Configuration

Post by jtornadojr »

I setup all of my customizations using the following method...

http://manual.mantisbt.org/manual.custo ... ations.php
Matze2
Posts: 8
Joined: 30 Jul 2008, 15:24

Re: Manage Configuration

Post by Matze2 »

Thank you. I know that you can use the "old" way to set up own customizations. But I thought you can also use th e web front end starting with 1.1 to do some customizations, but I think for severities this is not workiung perfectly...
vzw614
Posts: 143
Joined: 15 May 2008, 14:59

Re: Manage Configuration

Post by vzw614 »

I guess it's a bug in the web interface. Check out this bug, it states a workaround..
http://www.mantisbt.org/bugs/view.php?id=9426

The short answer is do not put a space between array and the opening parens..

array(

NOT

array (
Matze2
Posts: 8
Joined: 30 Jul 2008, 15:24

Re: Manage Configuration

Post by Matze2 »

Hi,

the workaround does not seem to work for the severity_enum_string.

I think I will create an bug-description...

Regards
Matze
Post Reply