[PR #13007] [MERGED] Fix #12579 create cable and add another error #14093

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

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/13007
Author: @netopsab
Created: 6/26/2023
Status: Merged
Merged: 7/6/2023
Merged by: @jeremystretch

Base: developHead: 12579-fix-cable-add-another


📝 Commits (3)

📊 Changes

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

View changed files

📝 netbox/dcim/views.py (+13 -0)

📄 Description

Fixes: #12579

Add get_extra_addanother_params function to CableEditView which return :

  • previous selected parent object (a_termination_device or a_termination_powerpanel or a_termination_circuit)
  • previous selected termination type (a_termination_type and b_termination_type)

🔄 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/13007 **Author:** [@netopsab](https://github.com/netopsab) **Created:** 6/26/2023 **Status:** ✅ Merged **Merged:** 7/6/2023 **Merged by:** [@jeremystretch](https://github.com/jeremystretch) **Base:** `develop` ← **Head:** `12579-fix-cable-add-another` --- ### 📝 Commits (3) - [`3c972db`](https://github.com/netbox-community/netbox/commit/3c972db2779282a3e3fa7bc541cb0331837f00a0) fix create cable and add another error #12579 - [`cbcc39d`](https://github.com/netbox-community/netbox/commit/cbcc39d326d46792a1678bc3e7b0916fd9eedb04) fix return proper parent object field - [`fe561d5`](https://github.com/netbox-community/netbox/commit/fe561d5375a89f71fecca59129a110cf72fedd81) improve code and wokflow ### 📊 Changes **1 file changed** (+13 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `netbox/dcim/views.py` (+13 -0) </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 opening a pull request. This helps avoid waste time and effort on a proposed change that we might not be able to accept. IF YOUR PULL REQUEST DOES NOT REFERENCE AN ISSUE WHICH HAS BEEN ASSIGNED TO YOU, IT WILL BE CLOSED AUTOMATICALLY. Please specify your assigned issue number on the line below. --> ### Fixes: #12579 <!-- Please include a summary of the proposed changes below. --> Add `get_extra_addanother_params` function to `CableEditView` which return : - previous selected parent object (`a_termination_device` or `a_termination_powerpanel` or `a_termination_circuit`) - previous selected termination type (`a_termination_type` and ` b_termination_type`) --- <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:22:27 +01:00
adam closed this issue 2025-12-29 23:22:27 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#14093