[PR #17518] [MERGED] 17517 fix cable creation when switching device type #15108

Closed
opened 2025-12-30 00:20:03 +01:00 by adam · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/17518
Author: @arthanson
Created: 9/17/2024
Status: Merged
Merged: 9/19/2024
Merged by: @jeremystretch

Base: developHead: 17517-cable


📝 Commits (1)

  • 64e01e9 17517 fix cable creation when switching device type

📊 Changes

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

View changed files

📝 netbox/dcim/views.py (+2 -2)

📄 Description

Fixes: #17517

On Cable Form submit the post data is updated but the request URL is referring to the initial (old) values, so need to use the POST data if available instead of the GET params.


🔄 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/17518 **Author:** [@arthanson](https://github.com/arthanson) **Created:** 9/17/2024 **Status:** ✅ Merged **Merged:** 9/19/2024 **Merged by:** [@jeremystretch](https://github.com/jeremystretch) **Base:** `develop` ← **Head:** `17517-cable` --- ### 📝 Commits (1) - [`64e01e9`](https://github.com/netbox-community/netbox/commit/64e01e91b1f443d297f1293eb9b5f26292b3c9b5) 17517 fix cable creation when switching device type ### 📊 Changes **1 file changed** (+2 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `netbox/dcim/views.py` (+2 -2) </details> ### 📄 Description ### Fixes: #17517 On Cable Form submit the post data is updated but the request URL is referring to the initial (old) values, so need to use the POST data if available instead of the GET params. --- <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-30 00:20:03 +01:00
adam closed this issue 2025-12-30 00:20:03 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#15108