Crashing when cable termination deleted #7541

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

Originally created by @ntnlabs on GitHub (Jan 20, 2023).

NetBox version

v3.4.2

Python version

3.10

Steps to Reproduce

  1. Create device A with interface A1
  2. Create device B with interface B1
  3. Create cable C between interfaces A1 - B1 (enter type, color and lenght)
  4. Delete interface B1
  5. Edit cable

Expected Behavior

  1. Edit cable
  2. Edit cable dialog should show

Observed Behavior

  1. Edit cable
  2. Error:
<class 'AttributeError'>

'str' object has no attribute 'label'

Python version: 3.10.6
NetBox version: 3.4.2
Originally created by @ntnlabs on GitHub (Jan 20, 2023). ### NetBox version v3.4.2 ### Python version 3.10 ### Steps to Reproduce 1. Create device A with interface A1 2. Create device B with interface B1 3. Create cable C between interfaces A1 - B1 (enter type, color and lenght) 4. Delete interface B1 5. Edit cable ### Expected Behavior 5. Edit cable 6. Edit cable dialog should show ### Observed Behavior 5. Edit cable 6. Error: ``` <class 'AttributeError'> 'str' object has no attribute 'label' Python version: 3.10.6 NetBox version: 3.4.2 ```
adam added the type: bugstatus: duplicate labels 2025-12-29 20:24:55 +01:00
adam closed this issue 2025-12-29 20:24:56 +01:00
Author
Owner

@jeremystretch commented on GitHub (Jan 20, 2023):

Thank you for submitting this issue, however it appears that this topic has already been raised. Please see issue #11460 for further discussion.

@jeremystretch commented on GitHub (Jan 20, 2023): Thank you for submitting this issue, however it appears that this topic has already been raised. Please see issue #11460 for further discussion.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#7541