[PR #19311] [MERGED] Fixes #17676: Fix support for module bay creation when bulk importing module types #15607

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

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/19311
Author: @jeremystretch
Created: 4/24/2025
Status: Merged
Merged: 4/24/2025
Merged by: @arthanson

Base: mainHead: 17676-module-bay-import


📝 Commits (1)

  • 00f18de Fixes #17676: Fix support for module bay creation when bulk importing module types

📊 Changes

3 files changed (+16 additions, -1 deletions)

View changed files

📝 netbox/dcim/forms/object_import.py (+1 -1)
📝 netbox/dcim/tests/test_views.py (+13 -0)
📝 netbox/dcim/views.py (+2 -0)

📄 Description

Fixes: #17676

  • Fix ModuleTypeImportView and ModuleBayTemplateImportForm to support module bay template assignment
  • Extend bulk import test to validate module bay templates

🔄 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/19311 **Author:** [@jeremystretch](https://github.com/jeremystretch) **Created:** 4/24/2025 **Status:** ✅ Merged **Merged:** 4/24/2025 **Merged by:** [@arthanson](https://github.com/arthanson) **Base:** `main` ← **Head:** `17676-module-bay-import` --- ### 📝 Commits (1) - [`00f18de`](https://github.com/netbox-community/netbox/commit/00f18de35b31dd7b2df3e9cdcd1d5f3c7611b47a) Fixes #17676: Fix support for module bay creation when bulk importing module types ### 📊 Changes **3 files changed** (+16 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `netbox/dcim/forms/object_import.py` (+1 -1) 📝 `netbox/dcim/tests/test_views.py` (+13 -0) 📝 `netbox/dcim/views.py` (+2 -0) </details> ### 📄 Description ### Fixes: #17676 - Fix ModuleTypeImportView and ModuleBayTemplateImportForm to support module bay template assignment - Extend bulk import test to validate module bay templates --- <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:22:59 +01:00
adam closed this issue 2025-12-30 00:22:59 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#15607