Interface removal do not remove connected Cable #8283

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

Originally created by @berahtlv on GitHub (Jul 3, 2023).

NetBox version

v3.5.4

Python version

3.8

Steps to Reproduce

  1. Create an interface connection from Interface A to Interface B
  2. Remove Interface A
  3. Interface B still has a Cable connected and "Termination B" values are available in the Cable view
  4. Attempt to edit Cable raises an error
<class 'AttributeError'>

'str' object has no attribute 'label'

Python version: 3.8.12
NetBox version: 3.5.4

Expected Behavior

Cable is removed.

Observed Behavior

One end of the Cable is still terminated and object edit raises an error.

Originally created by @berahtlv on GitHub (Jul 3, 2023). ### NetBox version v3.5.4 ### Python version 3.8 ### Steps to Reproduce 1. Create an interface connection from Interface A to Interface B 2. Remove Interface A 3. Interface B still has a Cable connected and "Termination B" values are available in the Cable view 4. Attempt to edit Cable raises an error ``` <class 'AttributeError'> 'str' object has no attribute 'label' Python version: 3.8.12 NetBox version: 3.5.4 ``` ### Expected Behavior Cable is removed. ### Observed Behavior One end of the Cable is still terminated and object edit raises an error.
adam added the status: duplicate label 2025-12-29 20:34:42 +01:00
adam closed this issue 2025-12-29 20:34:42 +01:00
Author
Owner

@kkthxbye-code commented on GitHub (Jul 3, 2023):

Duplicate of https://github.com/netbox-community/netbox/issues/11460

@kkthxbye-code commented on GitHub (Jul 3, 2023): Duplicate of https://github.com/netbox-community/netbox/issues/11460
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#8283