[PR #16822] [MERGED] Fixes #16808: Correct event type of webhooks emitted upon object deletion immediately following a modification #14921

Closed
opened 2025-12-29 23:27:29 +01:00 by adam · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/16822
Author: @jeremystretch
Created: 7/4/2024
Status: Merged
Merged: 7/9/2024
Merged by: @jeremystretch

Base: developHead: 16808-delete-events


📝 Commits (1)

  • d5eacef Fixes #16808: Correct event type of webhooks emitted upon object deletion immediately following a modification

📊 Changes

2 files changed (+29 additions, -3 deletions)

View changed files

📝 netbox/extras/events.py (+3 -0)
📝 netbox/extras/tests/test_event_rules.py (+26 -3)

📄 Description

Fixes: #16808

  • Update the event type of an already-queued event for an object deletion
  • Extend tests

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/netbox-community/netbox/pull/16822 **Author:** [@jeremystretch](https://github.com/jeremystretch) **Created:** 7/4/2024 **Status:** ✅ Merged **Merged:** 7/9/2024 **Merged by:** [@jeremystretch](https://github.com/jeremystretch) **Base:** `develop` ← **Head:** `16808-delete-events` --- ### 📝 Commits (1) - [`d5eacef`](https://github.com/netbox-community/netbox/commit/d5eacefd4b30bfb5eded734e9a36127d53094a30) Fixes #16808: Correct event type of webhooks emitted upon object deletion immediately following a modification ### 📊 Changes **2 files changed** (+29 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `netbox/extras/events.py` (+3 -0) 📝 `netbox/extras/tests/test_event_rules.py` (+26 -3) </details> ### 📄 Description ### Fixes: #16808 - Update the `event` type of an already-queued event for an object deletion - Extend tests --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
adam added the pull-request label 2025-12-29 23:27:29 +01:00
adam closed this issue 2025-12-29 23:27:29 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#14921