Skip to content

Pre-Change-Data missing on cascaded Deletions #6389

@moonrail

Description

@moonrail

NetBox version

v2.11.3

Python version

3.8

Steps to Reproduce

  1. Create a Device/VM
  2. Create a Journal-Entry on this Device/VM
  3. Create two Interfaces on this Device/VM
  4. Create a IP on the first Interface
  5. Delete the first Interface
  6. Look into Changelog (or API /extras/object-changes) and find, that the IP-Address-Entry will not have any "Pre-Change"-Data
  7. Delete the Device/VM
  8. Look into Changelog (or API /extras/object-changes) and find, that the Interface- and Journal-Entries will not have any "Pre-Change"-Data

Expected Behavior

Pre-Change-Data should be in the Changelog.

This is the case, if e.g. an IP-Address is deleted directly, but not when its deleted by a cascade.

Observed Behavior

Pre-Change-Data is missing in the Changelog, when an object is deleted by a cascade.

Metadata

Metadata

Assignees

Labels

status: acceptedThis issue has been accepted for implementationtype: bugA confirmed report of unexpected behavior in the application

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions