Unable to trace cable if front and back ports are not both connected #2094

Closed
opened 2025-12-29 17:22:13 +01:00 by adam · 0 comments
Owner

Originally created by @mmahacek on GitHub (Nov 7, 2018).

Environment

  • Python version: 3.6
  • NetBox version: 2.5 beta 1

Steps to Reproduce

Create a connection from a device interface to a front port on another device, but do not connect the rear port to another device (also occurs when connecting to a rear port without a device on the corresponding front port).

Expected Behavior

I would expect the cable trace page to come up and show just as much as is connected. Optionally, it could display a message indicating the port not have a match on the opposite side.

Observed Behavior

Server Error
There was a problem with your request. Please contact an administrator.
The complete exception is provided below:
<class 'django.urls.exceptions.NoReverseMatch'>
Reverse for 'cable' with keyword arguments '{'pk': ''}' not found. 1 pattern(s) tried: ['dcim/cables/(?P\d+)/$']

Originally created by @mmahacek on GitHub (Nov 7, 2018). Environment * Python version: 3.6 * NetBox version: 2.5 beta 1 ### Steps to Reproduce Create a connection from a device interface to a front port on another device, but do not connect the rear port to another device (also occurs when connecting to a rear port without a device on the corresponding front port). <!-- What did you expect to happen? --> ### Expected Behavior I would expect the cable trace page to come up and show just as much as is connected. Optionally, it could display a message indicating the port not have a match on the opposite side. <!-- What happened instead? --> ### Observed Behavior Server Error There was a problem with your request. Please contact an administrator. The complete exception is provided below: <class 'django.urls.exceptions.NoReverseMatch'> Reverse for 'cable' with keyword arguments '{'pk': ''}' not found. 1 pattern(s) tried: ['dcim/cables/(?P<pk>\\d+)/$']
adam added the type: bugstatus: accepted labels 2025-12-29 17:22:14 +01:00
adam closed this issue 2025-12-29 17:22:14 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#2094