View Issue Details

IDProjectCategoryView StatusLast Update
0011381mantisbtrelationshipspublic2019-09-21 20:20
Reporterbrianstv Assigned Todregad  
PrioritynormalSeverityminorReproducibilityalways
Status assignedResolutionopen 
Product Versiongit trunk 
Target Version2.23.0 
Summary0011381: Dependency Graph crash on circular parent child relationships
Description

The Dependency Graph will return a blank page if you have 3 issues that are dependent on each other in a circular way.

Steps To Reproduce

Create 3 issues.
Make issue 1 parent of issue 2
Make issue 2 parent of issue 3
Make issue 3 parent of issue 1
click on the Dependency Graph.
Returns blank page, or download of 0 bytes from bug_relationship_graph.php depending on your browser.

Additional Information

This was caught in testing, not something that would normally be done.

TagsNo tags attached.

Activities

dregad

dregad

2019-09-21 20:17

developer   ~0062875

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

dregad

dregad

2019-09-21 20:20

developer   ~0062880

I could reproduce this with latest master, the page throws an application error due to invalid parameter type. The PR fixes the problem, as shown in attached screenshot

circular.png (2,914 bytes)   
circular.png (2,914 bytes)   

Issue History

Date Modified Username Field Change
2010-01-11 15:21 brianstv New Issue
2019-09-21 20:12 dregad Assigned To => dregad
2019-09-21 20:12 dregad Status new => assigned
2019-09-21 20:13 dregad Target Version => 2.23.0
2019-09-21 20:17 dregad Note Added: 0062875
2019-09-21 20:20 dregad Note Added: 0062880
2019-09-21 20:20 dregad File Added: circular.png