[PR #15938] [MERGED] Fixes #15925: Fix rendering of cable traces to circuit terminations #14724

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

📋 Pull Request Information

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

Base: developHead: 15925-fix-tracing-circuits


📝 Commits (1)

  • f33d0be Fixes #15925: Fix rendering of cable traces to circuit terminations

📊 Changes

2 files changed (+67 additions, -3 deletions)

View changed files

📝 netbox/dcim/svg/cables.py (+4 -3)
📝 netbox/dcim/tests/test_cablepaths.py (+63 -0)

📄 Description

Fixes: #15925

  • Order objects by their string representation, rather than by name
  • Extend cable path tests to call CableTraceSVG.render() for additional coverage

🔄 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/15938 **Author:** [@jeremystretch](https://github.com/jeremystretch) **Created:** 5/3/2024 **Status:** ✅ Merged **Merged:** 5/3/2024 **Merged by:** [@jeremystretch](https://github.com/jeremystretch) **Base:** `develop` ← **Head:** `15925-fix-tracing-circuits` --- ### 📝 Commits (1) - [`f33d0be`](https://github.com/netbox-community/netbox/commit/f33d0be4d79f1bc9323efaa28aa2ceb1368f2789) Fixes #15925: Fix rendering of cable traces to circuit terminations ### 📊 Changes **2 files changed** (+67 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `netbox/dcim/svg/cables.py` (+4 -3) 📝 `netbox/dcim/tests/test_cablepaths.py` (+63 -0) </details> ### 📄 Description ### Fixes: #15925 - Order objects by their string representation, rather than by `name` - Extend cable path tests to call `CableTraceSVG.render()` for additional coverage --- <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:17 +01:00
adam closed this issue 2025-12-29 23:26:17 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#14724