Object deletions not being logged #1880

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

Originally created by @jeremystretch on GitHub (Jul 30, 2018).

Environment

  • Python version: 3.5.2
  • NetBox version: 2.4-beta1

Steps to Reproduce

  1. Create and delete an object (an IP address, for example)
  2. View the change log

Expected Behavior

The creation and deletion of the object should be recorded.

Observed Behavior

Only the creation of the object is recorded. The deletion is not recorded because the object's primary key is not accessible at the time of deletion.

Originally created by @jeremystretch on GitHub (Jul 30, 2018). ### Environment * Python version: 3.5.2 * NetBox version: 2.4-beta1 ### Steps to Reproduce 1. Create and delete an object (an IP address, for example) 2. View the change log <!-- What did you expect to happen? --> ### Expected Behavior The creation and deletion of the object should be recorded. <!-- What happened instead? --> ### Observed Behavior Only the creation of the object is recorded. The deletion is not recorded because the object's primary key is not accessible at the time of deletion.
adam added the type: bugstatus: accepted labels 2025-12-29 17:20:02 +01:00
adam closed this issue 2025-12-29 17:20:02 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#1880