[PR #3901] [CLOSED] Fixes #3900: component template related object existance not checked #12689

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

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/3901
Author: @hSaria
Created: 1/13/2020
Status: Closed

Base: developHead: 3900-component-template-parent


📝 Commits (1)

  • 4e20461 Fixes #3900: component template related object existance not checked

📊 Changes

2 files changed (+9 additions, -1 deletions)

View changed files

📝 docs/release-notes/version-2.6.md (+1 -0)
📝 netbox/dcim/models.py (+8 -1)

📄 Description

Fixes: #3900

Needed to check whether the related_object existed for the component template.

I've checked all other instances of ObjectChange and this seems to be the only one missing this check.


🔄 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/3901 **Author:** [@hSaria](https://github.com/hSaria) **Created:** 1/13/2020 **Status:** ❌ Closed **Base:** `develop` ← **Head:** `3900-component-template-parent` --- ### 📝 Commits (1) - [`4e20461`](https://github.com/netbox-community/netbox/commit/4e2046138c70b62f0376132ca96038cac57646ec) Fixes #3900: component template related object existance not checked ### 📊 Changes **2 files changed** (+9 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `docs/release-notes/version-2.6.md` (+1 -0) 📝 `netbox/dcim/models.py` (+8 -1) </details> ### 📄 Description ### Fixes: #3900 Needed to check whether the `related_object` existed for the component template. I've checked all other instances of `ObjectChange` and this seems to be the only one missing this check. --- <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 22:23:03 +01:00
adam closed this issue 2025-12-29 22:23: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#12689