[PR #16033] [MERGED] Fixes: #16022 - Fix Script and Report Migration #14754

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

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/16033
Author: @DanSheps
Created: 5/8/2024
Status: Merged
Merged: 5/8/2024
Merged by: @jeremystretch

Base: developHead: 16022-fix-migration


📝 Commits (1)

  • 7d6e56b Return an empty dict if the module cannot be loaded

📊 Changes

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

View changed files

📝 netbox/extras/migrations/0109_script_model.py (+4 -1)

📄 Description

Fixes: #16022 - Fix Script and Report Migration

  • Return an empty dict if import failes. This results in no scripts being created (ScriptModule still exists until deleted)

🔄 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/16033 **Author:** [@DanSheps](https://github.com/DanSheps) **Created:** 5/8/2024 **Status:** ✅ Merged **Merged:** 5/8/2024 **Merged by:** [@jeremystretch](https://github.com/jeremystretch) **Base:** `develop` ← **Head:** `16022-fix-migration` --- ### 📝 Commits (1) - [`7d6e56b`](https://github.com/netbox-community/netbox/commit/7d6e56b03ba835f15a8910de4fc9b002196e0391) Return an empty dict if the module cannot be loaded ### 📊 Changes **1 file changed** (+4 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `netbox/extras/migrations/0109_script_model.py` (+4 -1) </details> ### 📄 Description ### Fixes: #16022 - Fix Script and Report Migration * Return an empty dict if import failes. This results in no scripts being created (ScriptModule still exists until deleted) --- <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:26:32 +01:00
adam closed this issue 2025-12-29 23:26:32 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#14754