Bug #1851
Dasboard: avoid network warnings
Status: | CLOSED | Start date: | ||
---|---|---|---|---|
Priority: | Normal | Due 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
Dashboard: avoid warnings when querying network configuration. Refs #1851
History
#1 Updated by Giacomo Sanchietti over 8 years ago
- Status changed from NEW to MODIFIED
- % Done changed from 0 to 100
#2 Updated by Davide Principi about 8 years ago
- Status changed from MODIFIED to CLOSED