I have found a way to solve a problem related with Relationship graphs.
Despite having installed WinGraphviz and configured Mantis according to the documentation, I could not see any image at all.
I inspected the source of the generated page and I realized that it was incomplete. Then I commented many lines in ‘bug_relationship_graph.php’ and magically the relationship graphs were displayed. On the other hand I discovered that the same commented code is present at the ‘bug_relationship_graph_img.php’, so I think that this kind of redundancy is the reason of the problem.
Lines commented in ‘bug_relationship_graph.php’
<!-- Graph -->
<td colspan="2">
<?php
# if ( $t_graph_relation )
# $t_graph = relgraph_generate_rel_graph( $f_bug_id, $t_bug );
# else
# $t_graph = relgraph_generate_dep_graph( $f_bug_id, $t_bug, $t_graph_horizontal );
#
# relgraph_output_map( $t_graph, 'relationship_graph_map' );
?>
Problem with Relationship Graph solved
Moderators: Developer, Contributor
Re: Problem with Relationship Graph solved
I think the problem arises here:
from my test WinGraphViz does not work when invoked with parameter cmap, I modified its vb script test program and it never generates client side maps. I tested with 1.0.2.24 and 1.0.2.25. 1.0.2.26 does not work at all...mazeikis wrote: relgraph_output_map( $t_graph, 'relationship_graph_map' );