Skip to content

Webhook prechange snapshot missing when primary IP assigned or unassigned #12617

@AesoSpadez

Description

@AesoSpadez

NetBox version

v3.5.1

Python version

3.10

Steps to Reproduce

  1. Create a webhook - Content type DCIM > Device, events Updates, any URL, and the rest blank/defaults.
  2. Create a device (and all the prerequisite objects: Site, Role, Manufacturer, Type) - All defaults
  3. If no interfaces on the device type, add one.
  4. From the interfaces view of the device, add an IP address to the new interface - Check the 'Make this the primary' box.
  5. Go to the admin portal, find the webhook in the finished or failed jobs lists of the default queue.

Expected Behavior

The value of the prechange key of snapshots should have the prechange object data.

Observed Behavior

The value of the prechange key of snapshots is None.

Metadata

Metadata

Assignees

Labels

severity: mediumResults in substantial degraded or broken functionality for specfic workflowsstatus: 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