[PR #16406] [MERGED] Fixes #16376: Log changes on terminating objects when attaching a cable #14848

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

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/16406
Author: @jeremystretch
Created: 6/4/2024
Status: Merged
Merged: 6/4/2024
Merged by: @jeremystretch

Base: developHead: 16376-termination-change-log


📝 Commits (1)

  • 69585e2 Fixes #16376: Log changes on terminating objects when attaching a cable

📊 Changes

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

View changed files

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

📄 Description

Fixes: #16376

Call snapshot() and save() on the terminating object when creating a CableTermination, to ensure a changelog record is generated.


🔄 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/16406 **Author:** [@jeremystretch](https://github.com/jeremystretch) **Created:** 6/4/2024 **Status:** ✅ Merged **Merged:** 6/4/2024 **Merged by:** [@jeremystretch](https://github.com/jeremystretch) **Base:** `develop` ← **Head:** `16376-termination-change-log` --- ### 📝 Commits (1) - [`69585e2`](https://github.com/netbox-community/netbox/commit/69585e2832bb262f2167a1b065b60d0f02035300) Fixes #16376: Log changes on terminating objects when attaching a cable ### 📊 Changes **1 file changed** (+5 additions, -5 deletions) <details> <summary>View changed files</summary> 📝 `netbox/dcim/models/cables.py` (+5 -5) </details> ### 📄 Description ### Fixes: #16376 Call `snapshot()` and `save()` on the terminating object when creating a CableTermination, to ensure a changelog record is generated. --- <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:27:05 +01:00
adam closed this issue 2025-12-29 23:27:05 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#14848