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
Configuration - complex to string
Moderators: Developer, Contributor
Re: Configuration - complex to string
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
=> http://deboutv.free.fr/mantis/
Mantis: 1.1.0, 1.1.0a2
PHP: 5.0.4
SQL: MySQL 5.0.19
OS: Linux