Page 1 of 3

SYSTEM WARNING in MantisEnum.class.php

Posted: 06 May 2013, 14:05
by M@rce
After make changes into:

config_inc.php

Code: Select all

#$g_priority_enum_string	= '10:none,20:low,30:normal,40:high,50:urgent,60:immediate,200:no aplica';
strings_spanish.txt

Code: Select all

$s_priority_enum_string	= '10:Inmediata,20:Alta,30:Media,40:Baja,50:Sin asignar,60:ninguna,200:no aplica';
and Admin Config page to a determined project

Code: Select all

priority_enum_string 	
string 	
'array(
10:Inmediata,
20:Alta,
30:Media,
40:Baja,
50:Sin asignar,
)' 
When I enter to view all bugs inserted, the system displays the warning below:
Mantis details 11
Mantis details 11
mantis details 11.jpg (231.14 KiB) Viewed 36928 times
This could be a bug :?: Anybody can help me :?: thanks :!:

Re: SYSTEM WARNING in MantisEnum.class.php

Posted: 07 May 2013, 06:30
by atrol
I don't have time for a deeper look, but this line of your code in config_inc.php is probably not what you want.
You should uncomment it if you want to use it.

Code: Select all

#$g_priority_enum_string   = '10:none,20:low,30:normal,40:high,50:urgent,60:immediate,200:no aplica';

Re: SYSTEM WARNING in MantisEnum.class.php

Posted: 07 May 2013, 14:25
by M@rce
atrol wrote: You should uncomment it if you want to use it.
I uncommented to try new priority string, but with Comment or uncommented the line, always displays the same message :?

Re: SYSTEM WARNING in MantisEnum.class.php

Posted: 07 May 2013, 15:12
by atrol
M@rce wrote: strings_spanish.txt

Code: Select all

$s_priority_enum_string	= '10:Inmediata,20:Alta,30:Media,40:Baja,50:Sin asignar,60:ninguna,200:no aplica';
Again and again you are not following what I wrote
don't change any existing MantisBT file, but use custom_strings_inc.php for localization.
http://www.mantisbt.org/forums/viewtopi ... 938#p50925
http://www.mantisbt.org/forums/viewtopi ... 373#p51362

Sorry to say, but I can not go on to support you as long as you do not follow the documented rules and as long as I can not be sure that you are describing me the real configuration of your system.
http://www.mantisbt.org/forums/viewtopi ... 876#p51874

You should start with a fresh test installation and describe step by step what you do, what you get and what you expect to get.

Re: SYSTEM WARNING in MantisEnum.class.php

Posted: 08 May 2013, 13:37
by M@rce
atrol wrote:Again and again you are not following what I wrote
atrol wrote:Sorry to say, but I can not go on to support you as long as you do not follow the documented rules and as long as I can not be sure that you are describing me the real configuration of your system.
The description about my system is real y true, but I didn't know what are the steps to make a upgrade, and further this task is not frecuently; I found the information to do this in http://www.mantisbt.org/manual/manual.i ... rading.php.
Now I understand that is needed make for every time that i upgrade my app always make a new installation and what files must be overwritten.
Well, i will do all from zero.

Sorry for the inconvenience and thanks again :!:

Re: SYSTEM WARNING in MantisEnum.class.php

Posted: 08 May 2013, 16:02
by atrol
M@rce wrote: I found the information to do this in http://www.mantisbt.org/manual/manual.i ... rading.php.
Use this manual (also delivered with your installation) http://www.mantisbt.org/docs/master-1.2 ... LL.UPGRADE

The manual you refer to http://www.mantisbt.org/manual/ is for older versions of MantisBT.

Re: SYSTEM WARNING in MantisEnum.class.php

Posted: 09 May 2013, 15:58
by M@rce
atrol wrote:Use this manual (also delivered with your installation) http://www.mantisbt.org/docs/master-1.2 ... LL.UPGRADE
After I did a new installation, copy only config_inc.php and custom_strings_inc.php files from older version (I don't have custom_constants_inc.php and custom_functions_inc.php), in case also uncomment the new priority string, I did the upgrade, but the app continuing displaying the message SYSTEM WARNING. :(

What is I am doing wrong this time :?:

Re: SYSTEM WARNING in MantisEnum.class.php

Posted: 09 May 2013, 16:15
by atrol
M@rce wrote: config_inc.php and custom_strings_inc.php files from older version
Upload the two files (replace database password and other confidential information by xxxxx)

Re: SYSTEM WARNING in MantisEnum.class.php

Posted: 09 May 2013, 16:36
by M@rce
atrol wrote:Upload the two files (replace database password and other confidential information by xxxxx)
There are go!

Re: SYSTEM WARNING in MantisEnum.class.php

Posted: 09 May 2013, 19:03
by atrol
I am not able to reproduce your issue.
M@rce wrote: After I did a new installation
Does this mean new empty database?

Re: SYSTEM WARNING in MantisEnum.class.php

Posted: 09 May 2013, 19:40
by M@rce
atrol wrote:I am not able to reproduce your issue.
Does this mean new empty database?
No no, only app...the database is always the same, because that will be update in production enviroment.

Re: SYSTEM WARNING in MantisEnum.class.php

Posted: 09 May 2013, 19:49
by atrol
Seems the problem is in your database.
Goto Manage > Manage Configuration > Configuration report
Click "Reset Filter"
Delete your various _enum_ settings if there are any.

Re: SYSTEM WARNING in MantisEnum.class.php

Posted: 10 May 2013, 12:46
by M@rce
atrol wrote:Goto Manage > Manage Configuration > Configuration report
Click "Reset Filter"
Delete your various _enum_ settings if there are any.
Still happens the error :(

Re: SYSTEM WARNING in MantisEnum.class.php

Posted: 11 May 2013, 06:11
by atrol
Maybe you are able to reproduce the issue using Mantis2Go and a step by step description what you did?

Re: SYSTEM WARNING in MantisEnum.class.php

Posted: 13 May 2013, 14:59
by M@rce
atrol wrote:Maybe you are able to reproduce the issue using Mantis2Go and a step by step description what you did?
Well, i don't know this app, anyway I'll install and try...later I'll tell you the results.
Thanks :!: