Cable Edition receives 500 after removing a termination device #8538

Closed
opened 2025-12-29 20:37:54 +01:00 by adam · 1 comment
Owner

Originally created by @Etibru on GitHub (Aug 30, 2023).

NetBox version

v3.5.9

Python version

3.10

Steps to Reproduce

  1. Create 2 devices with 1 interface
  • DeviceA, interface mgmt0
  • DeviceB, interface ge-1/1/1
  1. Create cable between both interfaces

  2. Remove one extremity device (DeviceA or DeviceB)

  3. Then from the UI click on the edit button for your cable, you will see the Server Error

Expected Behavior

I should have the cable edit page to add an end or maybe the cable should be deleted?

Observed Behavior

Server Error
There was a problem with your request. Please contact an administrator.

The complete exception is provided below:

<class 'AttributeError'>

'str' object has no attribute 'label'

Python version: 3.10.12
NetBox version: 3.5.9
Plugins: None installed

==> http://X.X.X.X/dcim/cables/29/edit/?return_url=/dcim/cables/ 500 (Internal Server Error)

Originally created by @Etibru on GitHub (Aug 30, 2023). ### NetBox version v3.5.9 ### Python version 3.10 ### Steps to Reproduce 1. Create 2 devices with 1 interface - DeviceA, interface mgmt0 - DeviceB, interface ge-1/1/1 2. Create cable between both interfaces 3. Remove one extremity device (DeviceA or DeviceB) 4. Then from the UI click on the edit button for your cable, you will see the Server Error ### Expected Behavior I should have the cable edit page to add an end or maybe the cable should be deleted? ### Observed Behavior Server Error There was a problem with your request. Please contact an administrator. The complete exception is provided below: <class 'AttributeError'> 'str' object has no attribute 'label' Python version: 3.10.12 NetBox version: 3.5.9 Plugins: None installed ==> http://X.X.X.X/dcim/cables/29/edit/?return_url=/dcim/cables/ **500 (Internal Server Error)**
adam added the status: duplicate label 2025-12-29 20:37:54 +01:00
adam closed this issue 2025-12-29 20:37:55 +01:00
Author
Owner

@jeremystretch commented on GitHub (Aug 30, 2023):

Duplicate of #11460. Please remember to search for existing issues before submitting a new one.

@jeremystretch commented on GitHub (Aug 30, 2023): Duplicate of #11460. Please remember to search for existing issues before submitting a new one.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#8538