Deleting an object with a cable attached to it does not delete the cable #2107

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

Originally created by @jeremystretch on GitHub (Nov 8, 2018).

Environment

  • Python version: v3.5.2
  • NetBox version: v2.5-beta1

Steps to Reproduce

  1. Attach a cable between two interfaces
  2. Delete one of the interfaces

Expected Behavior

Both the interface and the attached cable should be deleted.

Observed Behavior

The interface is deleted, however the cable remains. The A or B side termination of the cable (depending on which interface is deleted) is nullified. This results in a cable existing with only one termination point defined, which is invalid.

Originally created by @jeremystretch on GitHub (Nov 8, 2018). ### Environment * Python version: v3.5.2 * NetBox version: v2.5-beta1 ### Steps to Reproduce 1. Attach a cable between two interfaces 2. Delete one of the interfaces ### Expected Behavior Both the interface and the attached cable should be deleted. ### Observed Behavior The interface is deleted, however the cable remains. The A or B side termination of the cable (depending on which interface is deleted) is nullified. This results in a cable existing with only one termination point defined, which is invalid.
adam added the type: bugstatus: accepted labels 2025-12-29 17:22:23 +01:00
adam closed this issue 2025-12-29 17:22:23 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#2107