Page 1 of 1

Manage Configuration

Posted: 03 Apr 2008, 16:18
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

Re: Manage Configuration

Posted: 08 Apr 2008, 22:10
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

Re: Manage Configuration

Posted: 09 Apr 2008, 00:52
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 => ''
);

Re: Manage Configuration

Posted: 09 Apr 2008, 16:42
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?

Re: Manage Configuration

Posted: 09 Apr 2008, 22:11
by seiji
Configuration Option: severity_enum_string
type: string
value: 10:Enhancement,20:Low,30:Medium,40:high,50:Critical,60:Custom,70:,80:

Re: Manage Configuration

Posted: 15 Apr 2008, 15:30
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?

Re: Manage Configuration

Posted: 29 Apr 2008, 16:47
by skibumm101
any body

Re: Manage Configuration

Posted: 01 Aug 2008, 13:37
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

Re: Manage Configuration

Posted: 01 Aug 2008, 14:13
by jtornadojr
I setup all of my customizations using the following method...

http://manual.mantisbt.org/manual.custo ... ations.php

Re: Manage Configuration

Posted: 01 Aug 2008, 14:42
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...

Re: Manage Configuration

Posted: 01 Aug 2008, 17:27
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 (

Re: Manage Configuration

Posted: 05 Aug 2008, 12:50
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