Severity

Post about your customizations to share with others.

Moderators: Developer, Contributor

M@rce
Posts: 99
Joined: 05 May 2011, 20:46
Location: Montevideo - Uruguay

Re: Severity

Post 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.
"La inteligencia consiste no sólo en el conocimiento, sino también en la destreza de aplicar los conocimientos en la práctica."
Aristóteles
Lapinkiller
Posts: 408
Joined: 28 Jan 2011, 18:47
Location: France
Contact:

Re: Severity

Post by Lapinkiller »

i haven't the error message ;)

maybe the syntax error is in lang file ;)
Lapinkiller,
French PHP developer
New look for your mantis : http://www.mantisbt.org/forums/viewtopi ... =4&t=20055
M@rce
Posts: 99
Joined: 05 May 2011, 20:46
Location: Montevideo - Uruguay

Re: Severity

Post 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 14221 times
Report per specific project
Report per specific project
mantis details.jpg (13.38 KiB) Viewed 14221 times
Have you any idea?
"La inteligencia consiste no sólo en el conocimiento, sino también en la destreza de aplicar los conocimientos en la práctica."
Aristóteles
M@rce
Posts: 99
Joined: 05 May 2011, 20:46
Location: Montevideo - Uruguay

Re: Severity

Post by M@rce »

Anyone else has idea :?:
"La inteligencia consiste no sólo en el conocimiento, sino también en la destreza de aplicar los conocimientos en la práctica."
Aristóteles
M@rce
Posts: 99
Joined: 05 May 2011, 20:46
Location: Montevideo - Uruguay

Re: Severity

Post by M@rce »

Hi everybody,
I am with this issue again, anybody can help me?

Thanks a lot.
"La inteligencia consiste no sólo en el conocimiento, sino también en la destreza de aplicar los conocimientos en la práctica."
Aristóteles
atrol
Site Admin
Posts: 8580
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: Severity

Post by atrol »

Please use Search before posting and read the Manual
M@rce
Posts: 99
Joined: 05 May 2011, 20:46
Location: Montevideo - Uruguay

Re: Severity

Post by M@rce »

Okay...i will follow the steps this time for Severity (in the topic indicated was to status)...thank you!
"La inteligencia consiste no sólo en el conocimiento, sino también en la destreza de aplicar los conocimientos en la práctica."
Aristóteles
M@rce
Posts: 99
Joined: 05 May 2011, 20:46
Location: Montevideo - Uruguay

Re: Severity

Post 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?
Attachments
Mantis Details
Mantis Details
mantis details 10.jpg (90.26 KiB) Viewed 13679 times
"La inteligencia consiste no sólo en el conocimiento, sino también en la destreza de aplicar los conocimientos en la práctica."
Aristóteles
atrol
Site Admin
Posts: 8580
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: Severity

Post 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.
Please use Search before posting and read the Manual
M@rce
Posts: 99
Joined: 05 May 2011, 20:46
Location: Montevideo - Uruguay

Re: Severity

Post 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 13671 times
Do you suggest another test :?:
Thanks :!:
"La inteligencia consiste no sólo en el conocimiento, sino también en la destreza de aplicar los conocimientos en la práctica."
Aristóteles
Post Reply