[PR #14163] [MERGED] Fixes #14117: Validate the number of front ports to be created #14326

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

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/14163
Author: @jeremystretch
Created: 11/1/2023
Status: Merged
Merged: 11/9/2023
Merged by: @jeremystretch

Base: developHead: 14117-validate-rearports-count


📝 Commits (1)

  • 9a960dd Fixes #14117: Validate the number of front ports to be created

📊 Changes

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

View changed files

📝 netbox/dcim/forms/object_create.py (+33 -0)

📄 Description

Fixes: #14117

I'm proposing this as an alternative solution to PR #14126. Although there is some duplication of code, IMO it's worthwhile to keep the validation logic neatly contained within each form.


🔄 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/14163 **Author:** [@jeremystretch](https://github.com/jeremystretch) **Created:** 11/1/2023 **Status:** ✅ Merged **Merged:** 11/9/2023 **Merged by:** [@jeremystretch](https://github.com/jeremystretch) **Base:** `develop` ← **Head:** `14117-validate-rearports-count` --- ### 📝 Commits (1) - [`9a960dd`](https://github.com/netbox-community/netbox/commit/9a960dd7d2d30c67fd79ff743e1c2451819ba22f) Fixes #14117: Validate the number of front ports to be created ### 📊 Changes **1 file changed** (+33 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `netbox/dcim/forms/object_create.py` (+33 -0) </details> ### 📄 Description ### Fixes: #14117 I'm proposing this as an alternative solution to PR #14126. Although there is some duplication of code, IMO it's worthwhile to keep the validation logic neatly contained within each form. --- <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:23:51 +01:00
adam closed this issue 2025-12-29 23:23:51 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#14326