Page 2 of 2

Re: Severity

Posted: 01 Jun 2011, 13:17
by M@rce
Lapinkiller,
A doubt: if you use my config_inc file into your MBT, will it appear the error message? could you make the test?
Thanks.

Re: Severity

Posted: 01 Jun 2011, 13:34
by Lapinkiller
i haven't the error message ;)

maybe the syntax error is in lang file ;)

Re: Severity

Posted: 01 Jun 2011, 13:56
by M@rce
Could be...if i add the following text into string_spanish

Code: Select all

$s_severity_enum_string = '0:inmediatamente,10:funcionalidad,20:trivial,30:texto,40:ajuste,50:menor,60:mayor,70:fallo,80:bloqueo,90:inmediata,100:en el día,110:dos días,120:en la semana,130:urgente,140:normal,150:baja';
and too add into configuration manager per project a option called severity_enum_string type string with values

Code: Select all

'array (
 90 => '90:inmediata',
 100 => '100:en el día',
 110 => '110:dos días',
 120 => '120:en la semana',
 )'
in MBT i see some values and not others, depending of report where are visualized:
Report for all projects
Report for all projects
mantis details 1.jpg (8.49 KiB) Viewed 14223 times
Report per specific project
Report per specific project
mantis details.jpg (13.38 KiB) Viewed 14223 times
Have you any idea?

Re: Severity

Posted: 08 Jun 2011, 11:44
by M@rce
Anyone else has idea :?:

Re: Severity

Posted: 29 Apr 2013, 14:28
by M@rce
Hi everybody,
I am with this issue again, anybody can help me?

Thanks a lot.

Re: Severity

Posted: 29 Apr 2013, 14:54
by atrol

Re: Severity

Posted: 29 Apr 2013, 18:31
by M@rce
Okay...i will follow the steps this time for Severity (in the topic indicated was to status)...thank you!

Re: Severity

Posted: 03 May 2013, 15:58
by M@rce
@Atrol,

In my custom_strings_inc file, I put:

Code: Select all

# Translation for Custom Severity Code
switch( $g_active_language ) {

	case 'spanish':
		
		$s_severity_enum_string = '0:inmediatamente,10:funcionalidad,20:trivial,30:texto,40:ajuste,50:menor,60:mayor,70:fallo,80:bloqueo,90:inmediata,100:en el día,110:dos días,120:en la semana,130:urgente,140:normal,150:baja,160:Bloqueante,170:Invalidante,180:Crítico,190:No crítico,200:no aplica';
		break; 
And into configuration administrator, I defined a project:

Code: Select all

severity_enum_string 	
string
array (
160 => '160:bloqueante',
170 => '170:invalidante',
180 => '180:critico',
190 => '190:no critico',
)
But when I want to report a new bug, appears in first place "inmediatamente" that is "0" in config and custom_strings files, do you have idea about this?

Re: Severity

Posted: 04 May 2013, 06:16
by atrol
I don't have time for a deeper look. Therefore I can't say if it makes sense what you are doing.
What I can say is that the type you are using (string) is not the right one for arrays. This has to be complex.

Re: Severity

Posted: 06 May 2013, 13:12
by M@rce
atrol wrote: What I can say is that the type you are using (string) is not the right one for arrays. This has to be complex.
Well, when I change the type (String to Complex), the values in the listbox disappears!
Mantis details
Mantis details
mantis details 10_1.jpg (27.06 KiB) Viewed 13673 times
Do you suggest another test :?:
Thanks :!: