View Issue Details

IDProjectCategoryView StatusLast Update
0031827mantisbtreportspublic2023-02-22 19:21
Reporterhloehnert Assigned Toatrol  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Product Version2.25.5 
Target Version2.25.6Fixed in Version2.25.6 
Summary0031827: Graphviz logs syntax error in line xx near ';'
Description

[b]Relationship Graph[/b] and [b]Dependency Graph[/b] create log entries in web-server-log-file:

[i]Error: <stdin>: syntax error in line xx near ';'[/i]

I think the semi-colon at the end of the generated input for graphviz is wrong.

Additional Information

core/graphviz_api.php -> line 322 and 507:

echo "};\n"; -> echo "}\n";

TagsNo tags attached.

Activities

atrol

atrol

2022-12-13 17:42

developer   ~0067210

@hloehnert nice finding, looks like it's there since the functionality was introduced in 2004.

This is just about the entries in the log, the graph is displayed. Right?

core/graphviz_api.php -> line 322 and 507:

507? Seems you changed source code. Isn't it 490?

atrol

atrol

2022-12-13 17:59

developer   ~0067211

PR https://github.com/mantisbt/mantisbt/pull/1860

hloehnert

hloehnert

2022-12-14 03:53

reporter   ~0067214

Last edited: 2022-12-14 04:05

507? Seems you changed source code. Isn't it 490?

You are right, I didn't revert my modifications I made to find the bug.

hloehnert

hloehnert

2022-12-14 05:55

reporter   ~0067215

This is just about the entries in the log, the graph is displayed. Right?

Yes

atrol

atrol

2022-12-14 09:38

developer   ~0067220

Thanks @hloehnert for reporting and analyzing the issue.

Related Changesets

MantisBT: master-2.25 5317b1ea

2022-12-13 17:49

atrol


Details Diff
Fix syntax error in Graphviz output

Fixes 0031827
Affected Issues
0031827
mod - core/graphviz_api.php Diff File