Bug #1851

Dasboard: avoid network warnings

Added by Giacomo Sanchietti over 6 years ago. Updated over 6 years ago.

Status:CLOSEDStart date:
Priority:NormalDue date:
Assignee:-% Done:

100%

Category:nethserver-base
Target version:v6.4-beta1
Security class: Resolution:
Affected version:v6.4-alpha2 NEEDINFO:

Description

When a network interface lacks of some field, the dashboard will generate warnings and no graphics is displayed.

Eg:

Notice: Undefined index: ipaddr in /usr/share/nethesis/NethServer/Module/Dashboard/SystemStatus/Network.php on line 67
Notice: Undefined index: netmask in /usr/share/nethesis/NethServer/Module/Dashboard/SystemStatus/Network.php on line 68
Notice: Undefined index: gateway in /usr/share/nethesis/NethServer/Module/Dashboard/SystemStatus/Network.php on line 69

Associated revisions

Revision 8121f50f
Added by Giacomo Sanchietti over 6 years ago

Dashboard: avoid warnings when querying network configuration. Refs #1851

History

#1 Updated by Giacomo Sanchietti over 6 years ago

  • Status changed from NEW to MODIFIED
  • % Done changed from 0 to 100

#2 Updated by Davide Principi over 6 years ago

  • Status changed from MODIFIED to CLOSED

Also available in: Atom PDF