Project

General

Profile

Bug #9321

Traffic Graphs on Dashboard not loading with certain types of interfaces

Added by Flole Systems 2 months ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
02/13/2019
Due date:
% Done:

0%

Estimated time:
Affected Version:
Affected Architecture:

Description

Traffic Graph is not loading at all when GRE, OpenVPN or IPSec graphs are enabled because it doesn't receive data for those.

The JS Console logs this

Uncaught TypeError: Cannot read property 'update' of undefined
    at Array.<anonymous> (traffic-graphs.js?v=1542803994:332)
    at Function.each (jquery-1.12.0.min.js?v=1542803994:2)
    at traffic-graphs.js?v=1542803994:271
    at Object.<anonymous> (d3.min.js?v=1542803994:1)
    at Object.t (d3.min.js?v=1542803994:1)
    at XMLHttpRequest.i (d3.min.js?v=1542803994:1)

It would be fine if only that one graph wouldn't load, but all graphs refuse to load then. An additional check here to make sure that only one graph fails in case something similar happens again would be a great addition aswell.

Also available in: Atom PDF