View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0006178 | mantisbt | reports | public | 2005-08-24 03:11 | 2020-11-26 02:38 |
Reporter | jgueunie | Assigned To | grangeway | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | PC | OS | windows 2000 | OS Version | sp4 |
Product Version | 1.0.0rc1 | ||||
Target Version | 1.3.0-beta.1 | Fixed in Version | 1.3.0-beta.1 | ||
Summary | 0006178: relationship graph is empty | ||||
Description | Mantis display an empty relation graph : It works on a nt4 server with easyphp 1.7 and the same version of wingraphviz On the new server with win2K and easyphp 1.8 it doesn't work (I made the test on 3 pcs.) | ||||
Steps To Reproduce | Mantis setup | ||||
Tags | No tags attached. | ||||
The wingraphviz COM object refuse to load with php 4.3.10. the sript exit because the $t_graphviz is null after loading wingraphviz graphviz_api.php line 292 : Check if we managed to instantiate the COM object.if ( is_null( $t_graphviz ) ) { We can't display any message or trigger an error onfailure, since we may have already sent a Content-typeheader potentially incompatible with the any html output.return; There is no more after updating to php 4.4.0 |
|
the problem with an empty (none image) still exist in version 1.1.0a4 if there is no relation between issues. the following changes correct this behaviour: before: after: return; |
|
Fixed by removing support for wingraphviz - just use the dot/neato exe's - see snapshot/commit @ http://git.mantisforge.org/w/mantisbt.git?a=commit;h=629a6760104e5f742ad54b5a765be78d4c42eef3 |
|
Marking as 'acknowledged' not resolved/closed to track that change gets ported to master-2.0.x branch |
|
MantisBT: master 629a6760 2010-08-14 14:17 Details Diff |
Fix: 0005037 Fix: 0006620 Fix: 0006178 Fix: 0008694 Remove support for wingraphviz. If people don't want to allow IIS to access cmd.exe, it would probably be more sensible to write a dotnet wrapper around graphviz (e.g. http://implicitoperator.com/blog/2009/12/24/rendering-an-in-memory-graphviz-image-with-c.html) However, that still needs a medium/full trust environment in asp.net I believe. Windows users can install graphviz by downloading, the MSI from graphviz.org, allowing access to cmd.exe to the php application pool in IIS, and modifying the dot/neato paths. |
Affected Issues 0005037, 0006178, 0006620, 0008694 |
|
mod - core/graphviz_api.php | Diff File | ||
mod - config_defaults_inc.php | Diff File |