Webhooks sent despite protection rule block #15090
Labels
severity: medium
Results in substantial degraded or broken functionality for specfic workflows
status: accepted
This issue has been accepted for implementation
type: bug
A confirmed report of unexpected behavior in the application
Deployment Type
Self-hosted
NetBox Version
v3.7.2
Python Version
3.10
Steps to Reproduce
{ "ipam.ipaddress": [ { "status": { "eq": "deprecated" } } ] }
Deletion is prevented by a protection rule: {'status': ['Ensure this value is equal to deprecated.']}
(this is expected)Expected Behavior
Webhook should not fire on deletion if a protection rule prevented the deletion from happening.
Observed Behavior
Webhook is sent sent with event
deleted
and asnapshot.postchange
value ofnull
despite the system blocking this deletion. This could have implications on webhook receivers processing the deletion when in fact the object remains in NetBox.The text was updated successfully, but these errors were encountered: