-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Closed
Closed
Copy link
Labels
netboxseverity: lowDoes not significantly disrupt application functionality, or a workaround is availableDoes not significantly disrupt application functionality, or a workaround is availablestatus: acceptedThis issue has been accepted for implementationThis issue has been accepted for implementationtopic: cablingtype: bugA confirmed report of unexpected behavior in the applicationA confirmed report of unexpected behavior in the application
Description
Deployment Type
Self-hosted
Triage priority
N/A
NetBox Version
NetBox Community v4.1.3
Python Version
3.11
Steps to Reproduce
Have a switch (or similar) with an interface connected through multiple passive components (ie patchpanel, wall-plugs) to a device with an interface.
From switch, do cable trace on this interface - it will display all in-between interfaces (as expected).
Delete the device without deleting or disconnecting its cable will result in an unterminated cable (might be by design).
Trace the cable again from the switch interface.
Expected Behavior
I expect the cable trace to walk through until the last (unterminated) cable and show either the last device or the unterminated cable to trace down the still existing cables.
Observed Behavior
Results in an error without displaying any svg cable date:
<class 'ZeroDivisionError'>
division by zero
Python-Version: 3.11.2
NetBox-Version: 4.1.3
Plugins:
netbox_topology_views: 4.0.1
Metadata
Metadata
Assignees
Labels
netboxseverity: lowDoes not significantly disrupt application functionality, or a workaround is availableDoes not significantly disrupt application functionality, or a workaround is availablestatus: acceptedThis issue has been accepted for implementationThis issue has been accepted for implementationtopic: cablingtype: bugA confirmed report of unexpected behavior in the applicationA confirmed report of unexpected behavior in the application