[PR #20322] [MERGED] Fixes #20242: Conditionally log request.id in EventRule triggered script #15889

Closed
opened 2025-12-30 00:24:37 +01:00 by adam · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/20322
Author: @jnovinger
Created: 9/11/2025
Status: Merged
Merged: 9/11/2025
Merged by: @arthanson

Base: mainHead: 20242-fix-attribute-error-on-event-script-run


📝 Commits (1)

  • a00708c Fixes #20242: Conditionally log request.id in EventRule triggered script

📊 Changes

1 file changed (+1 additions, -1 deletions)

View changed files

📝 netbox/extras/jobs.py (+1 -1)

📄 Description

Fixes: #20242

  • Conditionally log the request.id if available, otherwise indicate it is unavailable.

🔄 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/20322 **Author:** [@jnovinger](https://github.com/jnovinger) **Created:** 9/11/2025 **Status:** ✅ Merged **Merged:** 9/11/2025 **Merged by:** [@arthanson](https://github.com/arthanson) **Base:** `main` ← **Head:** `20242-fix-attribute-error-on-event-script-run` --- ### 📝 Commits (1) - [`a00708c`](https://github.com/netbox-community/netbox/commit/a00708c7a93a511a55aa551d32a21b2145cf3158) Fixes #20242: Conditionally log request.id in EventRule triggered script ### 📊 Changes **1 file changed** (+1 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `netbox/extras/jobs.py` (+1 -1) </details> ### 📄 Description ### Fixes: #20242 - Conditionally log the `request.id` if available, otherwise indicate it is unavailable. --- <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-30 00:24:37 +01:00
adam closed this issue 2025-12-30 00:24:37 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#15889