[PR #10227] [MERGED] Fixes #10217: Handle exception when trace splits to multiple rear ports #13586

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

📋 Pull Request Information

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

Base: developHead: 10217-cable-trace-split


📝 Commits (1)

  • 5ef2d1d Fixes #10217: Handle exception when trace splits to multiple rear ports

📊 Changes

2 files changed (+21 additions, -13 deletions)

View changed files

📝 netbox/dcim/models/cables.py (+9 -3)
📝 netbox/templates/dcim/cable_trace.html (+12 -10)

📄 Description

Fixes: #10217

  • Extend get_split_nodes() to handle splits occurring at multiple RearPorts
  • Improve the cable trace HTML template

🔄 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/10227 **Author:** [@jeremystretch](https://github.com/jeremystretch) **Created:** 8/31/2022 **Status:** ✅ Merged **Merged:** 8/31/2022 **Merged by:** [@jeremystretch](https://github.com/jeremystretch) **Base:** `develop` ← **Head:** `10217-cable-trace-split` --- ### 📝 Commits (1) - [`5ef2d1d`](https://github.com/netbox-community/netbox/commit/5ef2d1d7ad9ae3319e802a000d1b10693fb69689) Fixes #10217: Handle exception when trace splits to multiple rear ports ### 📊 Changes **2 files changed** (+21 additions, -13 deletions) <details> <summary>View changed files</summary> 📝 `netbox/dcim/models/cables.py` (+9 -3) 📝 `netbox/templates/dcim/cable_trace.html` (+12 -10) </details> ### 📄 Description <!-- Thank you for your interest in contributing to NetBox! Please note that our contribution policy requires that a feature request or bug report be approved and assigned prior to filing a pull request. This helps avoid wasting time and effort on something that we might not be able to accept. IF YOUR PULL REQUEST DOES NOT REFERENCE AN ISSUE WHICH HAS BEEN ASSIGNED TO YOU, IT WE BE CLOSED AUTOMATICALLY. --> ### Fixes: #10217 - Extend `get_split_nodes()` to handle splits occurring at multiple RearPorts - Improve the cable trace HTML template --- <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:43 +01:00
adam closed this issue 2025-12-29 23:19:43 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#13586