[PR #19671] [MERGED] Fixes #19667: Fix TypeError exception when creating a new module profile type with no schema #15698

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

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/19671
Author: @jeremystretch
Created: 6/6/2025
Status: Merged
Merged: 6/6/2025
Merged by: @jnovinger

Base: mainHead: 19667-module-type-profile-no-schema


📝 Commits (1)

  • f7920dc Fixes #19667: Fix TypeError exception when creating a new module profile type with no schema

📊 Changes

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

View changed files

📝 netbox/dcim/models/modules.py (+1 -1)

📄 Description

Fixes: #19667

Attempt to validate the JSON schema only if one has been defined.


🔄 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/19671 **Author:** [@jeremystretch](https://github.com/jeremystretch) **Created:** 6/6/2025 **Status:** ✅ Merged **Merged:** 6/6/2025 **Merged by:** [@jnovinger](https://github.com/jnovinger) **Base:** `main` ← **Head:** `19667-module-type-profile-no-schema` --- ### 📝 Commits (1) - [`f7920dc`](https://github.com/netbox-community/netbox/commit/f7920dc66d2ab9e89b1109f94df79afc0e41c9e2) Fixes #19667: Fix TypeError exception when creating a new module profile type with no schema ### 📊 Changes **1 file changed** (+1 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `netbox/dcim/models/modules.py` (+1 -1) </details> ### 📄 Description ### Fixes: #19667 Attempt to validate the JSON schema only if one has been defined. --- <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:23:28 +01:00
adam closed this issue 2025-12-30 00:23:28 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#15698