Page 1 of 1

Mantis Graph error

Posted: 15 Oct 2010, 07:45
by Ernesto
Hi Mantis Guru,
I have installed the new stable version of Mantis (1.2.3) on a Linux Server with this OS:

Red Hat Enterprise Linux AS release 4 (Nahant Update 6)

I need to use Advanced Summary menu’, I have installed Mantis Graphs 1.0 and customized it (see the attached file).
I have installed “jpgraph” version 3.5.0b1 and it is available on /usr/local/jpgraph-3.5.0b1.

We have tried many customizations (following the Mantis Forum) without success; in attach you can see our error.
Please could you help me?

Thanks in advance.
BR.
Ernesto

Re: Mantis Graph error

Posted: 15 Oct 2010, 07:58
by atrol
Are there any other plugins installed?
Check all files you changed or added to the original download including config_inc.php if there is any character / blank / tab / new line after closing ?>

Re: Mantis Graph error

Posted: 15 Oct 2010, 09:10
by Ernesto
Hi Atrol, thanks for your fast response.
I have created a new instance of Mantis without customizations in our Linux Server.

I have installed Mantis Graphs 1.0, I have choosen "jpgraph" and we have created a symbolic link in {mantisroot}/library/jpgraph.
We see the graph, but I have problem with fonts (I have installed /usr/share/fonts/msttcorefonts and created a symbolic link for truetype on /usr/share/fonts/).
Have you any suggestion?
BR.
Ernesto

Re: Mantis Graph error

Posted: 15 Oct 2010, 10:30
by atrol
Maybe some information which helps
http://www.mantisbt.org/bugs/view.php?id=10995

Re: Mantis Graph error

Posted: 15 Oct 2010, 11:38
by Ernesto
Hi Atrol,
Thanks for the URL, yesterday I saw it.

I have solved the ttf problem inside the graph, but we have a problem only for Summary per Category (see the attached file).
Thanks in advance.
BR
Ernesto

Re: Mantis Graph error

Posted: 18 Oct 2010, 07:56
by Ernesto
Hi,
I saw the solution is available in 1.3.x version.
Could I know when this version will be released?
BR.
Ernesto

Re: Mantis Graph error

Posted: 18 Oct 2010, 08:11
by Kirill
Ernesto wrote:Hi,
I saw the solution is available in 1.3.x version.
Could I know when this version will be released?
http://www.mantisbt.org/bugs/roadmap_pa ... ion_id=101
When all errors will be solved

Re: Mantis Graph error

Posted: 18 Oct 2010, 08:58
by atrol
Ernesto wrote: I saw the solution is available in 1.3.x version.
Where did you see this?

Re: Mantis Graph error

Posted: 18 Oct 2010, 10:45
by Kirill

Re: Mantis Graph error

Posted: 18 Oct 2010, 11:38
by atrol
Kirill, this is the link that I posted.
I am confused, because Ernesto was talking about two problems.
I see that David has commited your patch to master and master-1.2.x branch, so this fix will be available with upcoming version 1.2.4 (maybe available in near future) and 1.3 (whenever this will be)

Ernesto, the next nightly build of 1.2.x will include the patch
Tomorrow you can download the build from http://www.mantisbt.org/builds/
Would be great if you could test the build and come back with the results

Re: Mantis Graph error

Posted: 18 Oct 2010, 14:02
by Kirill
I compare master-branch with my fork http://github.com/Kirill/mantisbt and see that David rewrite function and I don't check how it work.

PS. David fix it.

Re: Mantis Graph error

Posted: 21 Oct 2010, 01:11
by squarebox
the ticket you posted says that that bug will be fixed in the upcoming mantis 1.2.x version. The targeted version is to give an idea to the developers when this bug should be fixed. The "fixed in version" field lists what version it was actually fixed in. Also, the patch is right there on the ticket, so you could take teh diff from that patch and apply it to your environment right now most likely.