[PR #21028] [MERGED] Fix missing owner field in DeviceWithConfigContextSerializer #16121

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

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/21028
Author: @mrmrcoleman
Created: 12/22/2025
Status: Merged
Merged: 12/22/2025
Merged by: @bctiemann

Base: featureHead: fix/device-api-missing-owner-field


📝 Commits (2)

  • 07d8157 Fix missing owner field in DeviceWithConfigContextSerializer
  • 062a871 Add missing owner field to device & VM component serializers

📊 Changes

3 files changed (+55 additions, -28 deletions)

View changed files

📝 netbox/dcim/api/serializers_/device_components.py (+47 -21)
📝 netbox/dcim/api/serializers_/devices.py (+1 -1)
📝 netbox/virtualization/api/serializers_/virtualmachines.py (+7 -6)

📄 Description

Fixes: https://github.com/netbox-community/netbox/issues/21022

  • Add owner to fields list on DeviceWithConfigContextSerializer and VirtualMachineWithConfigContextSerializer
  • Device & VM component serializers should subclass OwnerMixin

🔄 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/21028 **Author:** [@mrmrcoleman](https://github.com/mrmrcoleman) **Created:** 12/22/2025 **Status:** ✅ Merged **Merged:** 12/22/2025 **Merged by:** [@bctiemann](https://github.com/bctiemann) **Base:** `feature` ← **Head:** `fix/device-api-missing-owner-field` --- ### 📝 Commits (2) - [`07d8157`](https://github.com/netbox-community/netbox/commit/07d8157ccd9b8182f983e493147c5ba001bf2d76) Fix missing owner field in DeviceWithConfigContextSerializer - [`062a871`](https://github.com/netbox-community/netbox/commit/062a871521929ec7a4b1db39e68082537735b35b) Add missing owner field to device & VM component serializers ### 📊 Changes **3 files changed** (+55 additions, -28 deletions) <details> <summary>View changed files</summary> 📝 `netbox/dcim/api/serializers_/device_components.py` (+47 -21) 📝 `netbox/dcim/api/serializers_/devices.py` (+1 -1) 📝 `netbox/virtualization/api/serializers_/virtualmachines.py` (+7 -6) </details> ### 📄 Description ### Fixes: https://github.com/netbox-community/netbox/issues/21022 - Add `owner` to fields list on DeviceWithConfigContextSerializer and VirtualMachineWithConfigContextSerializer - Device & VM component serializers should subclass OwnerMixin --- <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:25:55 +01:00
adam closed this issue 2025-12-30 00:25:55 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#16121