[PR #10287] [MERGED] Fixes #10250: Fix exception when CableTermination validation fails during bulk import of cables #13601

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

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/10287
Author: @jeremystretch
Created: 9/7/2022
Status: Merged
Merged: 9/8/2022
Merged by: @jeremystretch

Base: developHead: 10250-cable-import-virtual


📝 Commits (1)

  • 211c764 Fixes #10250: Fix exception when CableTermination validation fails during bulk import of cables

📊 Changes

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

View changed files

📝 netbox/dcim/models/cables.py (+2 -6)

📄 Description

Fixes: #10250

Decouple the ValidationError exceptions raised by CableTermination.clean() from the termination field so they're suitable for general purpose use.


🔄 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/10287 **Author:** [@jeremystretch](https://github.com/jeremystretch) **Created:** 9/7/2022 **Status:** ✅ Merged **Merged:** 9/8/2022 **Merged by:** [@jeremystretch](https://github.com/jeremystretch) **Base:** `develop` ← **Head:** `10250-cable-import-virtual` --- ### 📝 Commits (1) - [`211c764`](https://github.com/netbox-community/netbox/commit/211c7641c182b53990be7a4186d04a342e53de57) Fixes #10250: Fix exception when CableTermination validation fails during bulk import of cables ### 📊 Changes **1 file changed** (+2 additions, -6 deletions) <details> <summary>View changed files</summary> 📝 `netbox/dcim/models/cables.py` (+2 -6) </details> ### 📄 Description ### Fixes: #10250 Decouple the ValidationError exceptions raised by `CableTermination.clean()` from the `termination` field so they're suitable for general purpose use. --- <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:19:48 +01:00
adam closed this issue 2025-12-29 23:19:49 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#13601