MantisGraph with modified priority/severity enum strings

General discussion of Mantis.

Moderators: Developer, Contributor

Post Reply
pilecarls8
Posts: 1
Joined: May 04, 2020 2:57 am

MantisGraph with modified priority/severity enum strings

Post by pilecarls8 »

Hi all
I am using the packaged version of Mantis by Bitnami(2.18.0) running on AWS (Apache ver 2.4.37, lego ver 1.2.1, MySQL ver 5.7.24, PHP ver 7.1.24, OpenSSL ver 1.0.2q)

Modified the enum strings for priority ($g_priority_enum_string) and severity ($g_severity_enum_string ) with new values needed in my project and it was set as a global variable ("All Projects")

Installed the MantisGraph plugin; however the charts for Severity and Priority still shows the legends for the original values and of course, nothing is being displayed.

I had also looked into the php files under the plugins (/mantis/htdocs/plugins/MantisGraph/pages), specifically the severity_graph.php and priority_graph.php. The values are stored under $t_metrics and it reads from "severity_enum_string". However, the $t_series_name read from "bug". I had tried to change it to read from severity enum string but no dice.192.168.0.1 routerlogin 192.168.l.l


Any idea how to change it? The charts are basically useless as it stands now.
Last edited by pilecarls8 on May 05, 2020 7:30 pm, edited 1 time in total.

cas
Posts: 806
Joined: Mar 11, 2006 11:08 am
Contact:

Re: MantisGraph with modified priority/severity enum strings

Post by cas »


Post Reply