[PR #15139] [MERGED] Fixes #15067: Fix uncaught exception when attempting invalid device bay import #14530

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

📋 Pull Request Information

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

Base: developHead: 15067-fix-invalid-devicebay-import-errors


📝 Commits (1)

  • 7ecfe82 Fixes #15067: Fix uncaught exception when attempting invalid device bay import

📊 Changes

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

View changed files

📝 netbox/dcim/forms/bulk_import.py (+1 -1)
📝 netbox/dcim/models/device_components.py (+2 -2)

📄 Description

Fixes: #15067

Avoid RelatedObjectDoesNotExist exceptions when validating DeviceBay instances


🔄 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/15139 **Author:** [@jeremystretch](https://github.com/jeremystretch) **Created:** 2/13/2024 **Status:** ✅ Merged **Merged:** 2/13/2024 **Merged by:** [@jeremystretch](https://github.com/jeremystretch) **Base:** `develop` ← **Head:** `15067-fix-invalid-devicebay-import-errors` --- ### 📝 Commits (1) - [`7ecfe82`](https://github.com/netbox-community/netbox/commit/7ecfe82ed0c4b8844b7d9fe954b04049bc1a69b1) Fixes #15067: Fix uncaught exception when attempting invalid device bay import ### 📊 Changes **2 files changed** (+3 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `netbox/dcim/forms/bulk_import.py` (+1 -1) 📝 `netbox/dcim/models/device_components.py` (+2 -2) </details> ### 📄 Description ### Fixes: #15067 Avoid `RelatedObjectDoesNotExist` exceptions when validating DeviceBay instances --- <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:25:00 +01:00
adam closed this issue 2025-12-29 23:25:01 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#14530