Open Bug 309092 Opened 19 years ago Updated 9 years ago

showdependencygraph.cgi should catch errors returned by remote webdot service

Categories

(Bugzilla :: Dependency Views, enhancement)

enhancement
Not set
normal

Tracking

()

UNCONFIRMED

People

(Reporter: karl, Unassigned)

Details

User-Agent:       Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en-US) AppleWebKit/125.4 (KHTML, like Gecko, Safari) OmniWeb/v563.51
Build Identifier: 

When showdependencygraph relies on a remote webdot service to get graphs, there is no way to know 
if the remote service fails.  It would be nice if Bugzilla could catch this and handle it appropriately.  
Maybe Bugzilla could confirm that the data coming from the service is actually an image; if not, send an 
error message (error image) instead.

Reproducible: Always

Steps to Reproduce:
1. Access a large Bugzilla installation that includes many bugs with complex dependency relationships
2. View a large dependency tree or view all trees on the system.
Actual Results:  
I expected a graph to be displayed

Expected Results:  
More often than not, no image is displayed.

The qa220rc2 installation on landfill uses the remote webdot service.  The URL filed attempts to display 
all dependency graphs, with obvious results (broken image).

Another solution would be to have the remote service return an image saying "can not create graph, 
(insert reason here)".

This stems from http://landfill.bugzilla.org/qa220rc2/show_bug.cgi?id=2761, a 2.20 QA feature 
tracking bug.
(In reply to comment #0)
> Another solution would be to have the remote service return an image saying
"can not create graph, 
> (insert reason here)".

This part is not a Bugzilla bug.
Component: Bugzilla-General → Dependency Views
Severity: normal → enhancement
You need to log in before you can comment on or make changes to this bug.