View Issue Details

IDProjectCategoryView StatusLast Update
0006620mantisbtreportspublic2020-11-26 02:38
Reportereiben Assigned Tograngeway  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Target Version1.3.0-beta.1Fixed in Version1.3.0-beta.1 
Summary0006620: Relationgraph is not displayed
Description

When I call the relationgraph (actually any graph at all) this is not being display. I have fiddled around with the graphing-api and this what I figured so far:

The dot-code seems OK (did a Validate on the Neato-thingy) and I can create a PNG, JPEG, SVG (whatever) alright using a little VBScript. Calling the bug_relationship_graph_img.php direcly gives me the correct content-type and content length (I know the sice of the resulting PNG because of my VBScript), but Firefox just displays the URL instead of the image.

So something magic must be happening while the bug_relationship_graph_img.php is being processed.

Additional Information
  • Mantis 1.0.0rc5
  • PHP 5.11 on Windows 2003 Server (as well as PHP 5.12 on Windows 2000 Professional) running as ISAPI
  • Wingraphviz 1.02.25s
TagsNo tags attached.

Relationships

duplicate of 0005037 closedgrangeway No more rel. graphs with PHP 4.3.10 and Win2K 
related to 0015721 closedgrangeway Functionality to consider porting to master-2.0.x 

Activities

grangeway

grangeway

2010-08-14 14:38

reporter   ~0026315

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

grangeway

grangeway

2013-04-05 17:57

reporter   ~0036498

Marking as 'acknowledged' not resolved/closed to track that change gets ported to master-2.0.x branch

Related Changesets

MantisBT: master 629a6760

2010-08-14 14:17

grangeway


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