Configuration - complex to string

Get help from other users here.

Moderators: Developer, Contributor

Post Reply
rypki
Posts: 11
Joined: 16 Nov 2008, 23:14

Configuration - complex to string

Post by rypki »

Hi, I am trying to configure the state machine for bug lifecycle. I input the following text:
array (
10 => '20:ZAAKCEPTOWANY,70:ODRZUCONY,80:POWTORZONY',
20 => '30:W_REALIZACJI,70:ODRZUCONY',
30 => '40:POPRAWIONY',
40 => '50:RETESTY',
50 => '100:ZAMKNIETY,60:BLEDNIE_POPRAWIONY',
60 => '20:ZAAKCEPTOWANY',
70 => '100:ZAMKNIETY',
80 => '100:ZAMKNIETY',
90 => '20:ZAAKCEPTOWANY,40:POPRAWIONY',
100 => '90:PONOWNIE_STWIERDZONY',
)
I set the configuration option to status_enum_workflow, type to complex and submit. Next I check tho configuration report and see that this option has been added as STRING and is shown in report with single quotes:
'array (
10 => '20:ZAAKCEPTOWANY,70:ODRZUCONY,80:POWTORZONY',
20 => '30:W_REALIZACJI,70:ODRZUCONY',
30 => '40:POPRAWIONY',
40 => '50:RETESTY',
50 => '100:ZAMKNIETY,60:BLEDNIE_POPRAWIONY',
60 => '20:ZAAKCEPTOWANY',
70 => '100:ZAMKNIETY',
80 => '100:ZAMKNIETY',
90 => '20:ZAAKCEPTOWANY,40:POPRAWIONY',
100 => '90:PONOWNIE_STWIERDZONY',
)'
I can't figure out what is the problem. I use Mantis ver. 1.1.4. Any help would be appreciated. The problem repeats for any complec type configuration option I want to add.
rypki
deboutv
Posts: 507
Joined: 15 Jan 2007, 14:31
Location: La Ciotat, FRANCE
Contact:

Re: Configuration - complex to string

Post by deboutv »

Take a look in the bugtracker.

http://www.mantisbt.org/bugs/view.php?id=9455
Want more plugins to customize Mantis?
=> http://deboutv.free.fr/mantis/

Mantis: 1.1.0, 1.1.0a2
PHP: 5.0.4
SQL: MySQL 5.0.19
OS: Linux
Post Reply