View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0004614 | mantisbt | relationships | public | 2004-09-26 09:15 | 2007-10-04 01:37 |
Reporter | masc | Assigned To | vboctor | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | X86 | OS | Windows | OS Version | Win2K |
Product Version | git trunk | ||||
Fixed in Version | 1.1.0rc1 | ||||
Summary | 0004614: Relationship graph: sometimes arrows direction is not correct | ||||
Description | The bugs 506,507,508 are all child of 472. Looking at the attached images, the relationships graph associated with the 472 bug is different (arrows direction) from the one associated to the bug 507 (all the three arrows should point the 472). | ||||
Tags | No tags attached. | ||||
Attached Files | |||||
Hi masc, This is strange, and I couldn't reproduce it here. Could you please return me the result of SELECT * FROM? Btw, send me a reminder when you find bugs related to the relationship graphs, please. alterado em: 09-26-04 14:11 |
|
Find attached an image with the query result from phpmyadmin. |
|
Still unsuccessful trying to reproduce this bug. I created bugs with the same numbering as yours, created the same relationships in the same order, and nothing, still perfect. The problem you are reporting makes me think that some bits in relgraph_generate_rel_graph() got somehow swapped. On the latest CVS, on lines 76-77 and 91-92 there are: 76 $v_rel_list[$t_id][$t_dst] = BUG_DEPENDANT; What you are reporting suggests that both sections were like $v_rel_list[$t_id][$t_dst] = BUG_BLOCKS; Indeed, I managed to replicate this bug when I made this change, but this is not what was commited to CVS. Can you check this, please? Another thing: are you using graphviz 1.10 or higher? Is it the Windows version? I just thought it could be a bug in graphviz handling back/forward arrows... If you could reduce this to a minimum number of entries and export an SQL file with your database with just these issues and relations, I can check better if it is a bug. |
|
I checked the source code and it's as expected. I'm using WinGraphviz 1.02.25 (it was downloaded a couple of days ago, it should be lastest). In any case your work is great! Marcello |
|
This is another WinGraphviz-specific bug. The attached script should produce a "src" node pointing to two "dst" nodes... WinGraphviz produces something like dst1-->src-->dst2. I'll contact the author, just like 0004625. I don't know if there is a workaround for this bug... it seems that sometimes it choses random arrow directions, and it looks hard to predict to where they'll point to. |
|
Four days passed and I received no answer from the author. I'm afraid that he is not maintaining WinGraphviz anymore. |
|
Juliano, |
|
Even in 1.0.0rc5 I have such problem under Windows and WinGraphviz with edge orientation. But after inserting a string "ksort($v_bug_list);" in line 136 in "core/relation_graph_api.php" before cycle |
|
thanks, this fix works perfectly |
|
Applied the fix suggested by "player" and confirmed by "mkornatzki" for now. If this break something else then we will undo the change and re-open this issue. |
|