[PR #17150] [MERGED] Fixes #16871: Sanitize device ID when bulk editing components to prevent exception #15007

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

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/17150
Author: @jeremystretch
Created: 8/13/2024
Status: Merged
Merged: 8/14/2024
Merged by: @jeremystretch

Base: developHead: 16871-fix-bulk-edit-form-exception


📝 Commits (1)

  • 73b5a4b Fixes #16871: Sanitize device ID when bulk editing components to prevent exception

📊 Changes

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

View changed files

📝 netbox/dcim/forms/bulk_edit.py (+27 -22)

📄 Description

Fixes: #16871

Extend ComponentBulkEditForm to capture the device ID (if any) on initialization for context


🔄 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/17150 **Author:** [@jeremystretch](https://github.com/jeremystretch) **Created:** 8/13/2024 **Status:** ✅ Merged **Merged:** 8/14/2024 **Merged by:** [@jeremystretch](https://github.com/jeremystretch) **Base:** `develop` ← **Head:** `16871-fix-bulk-edit-form-exception` --- ### 📝 Commits (1) - [`73b5a4b`](https://github.com/netbox-community/netbox/commit/73b5a4b08284899adc549ee3f42cd9895dec59de) Fixes #16871: Sanitize device ID when bulk editing components to prevent exception ### 📊 Changes **1 file changed** (+27 additions, -22 deletions) <details> <summary>View changed files</summary> 📝 `netbox/dcim/forms/bulk_edit.py` (+27 -22) </details> ### 📄 Description ### Fixes: #16871 Extend `ComponentBulkEditForm` to capture the device ID (if any) on initialization for context --- <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:19:25 +01:00
adam closed this issue 2025-12-30 00:19:26 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#15007