prechange_data in changelog empty for frontports if rearport gets deleted #7106

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

Originally created by @PaulR282 on GitHub (Oct 14, 2022).

NetBox version

v3.3.5

Python version

3.10

Steps to Reproduce

  1. Create device with a rearport
  2. Add frontports to the device, which connect to the rearport
  3. Delete the rearport (the frontports get deleted too)
  4. Go to the changelog item of a deleted frontport

Expected Behavior

The Pre-Change Data should be filled with the attributes the frontport had.

Observed Behavior

Pre-Change Data is empty

Originally created by @PaulR282 on GitHub (Oct 14, 2022). ### NetBox version v3.3.5 ### Python version 3.10 ### Steps to Reproduce 1. Create device with a rearport 2. Add frontports to the device, which connect to the rearport 3. Delete the rearport (the frontports get deleted too) 4. Go to the changelog item of a deleted frontport ### Expected Behavior The Pre-Change Data should be filled with the attributes the frontport had. ### Observed Behavior Pre-Change Data is empty
adam added the status: duplicate label 2025-12-29 20:19:19 +01:00
adam closed this issue 2025-12-29 20:19:19 +01:00
Author
Owner

@jeremystretch commented on GitHub (Oct 14, 2022):

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

@jeremystretch commented on GitHub (Oct 14, 2022): Thank you for submitting this issue, however it appears that this topic has already been raised. Please see issue #6389 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#7106