[PR #17493] [MERGED] Fixes: #17492 - Changes Serializer field to prevent exceptions when plugins inherit the base serializer #15109

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/17493
Author: @DanSheps
Created: 9/13/2024
Status: Merged
Merged: 9/17/2024
Merged by: @jeremystretch

Base: developHead: 17492-swap-to-get_viewname


📝 Commits (1)

  • 66b2c63 Fixes: #17492 - Change methods on NetBox*HyperlinkedIdentityField to use get_viewname

📊 Changes

1 file changed (+9 additions, -8 deletions)

View changed files

📝 netbox/netbox/api/serializers/fields.py (+9 -8)

📄 Description

Fixes: #17492 - Change methods on NetBox*HyperlinkedIdentityField to use get_viewname

  • Adjust method to pass model instead of app_name and model_name
  • Adjust methods to use get_viewname

🔄 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/17493 **Author:** [@DanSheps](https://github.com/DanSheps) **Created:** 9/13/2024 **Status:** ✅ Merged **Merged:** 9/17/2024 **Merged by:** [@jeremystretch](https://github.com/jeremystretch) **Base:** `develop` ← **Head:** `17492-swap-to-get_viewname` --- ### 📝 Commits (1) - [`66b2c63`](https://github.com/netbox-community/netbox/commit/66b2c637bd3fa0a5a52aa23863e25bf508297c4f) Fixes: #17492 - Change methods on NetBox*HyperlinkedIdentityField to use get_viewname ### 📊 Changes **1 file changed** (+9 additions, -8 deletions) <details> <summary>View changed files</summary> 📝 `netbox/netbox/api/serializers/fields.py` (+9 -8) </details> ### 📄 Description Fixes: #17492 - Change methods on NetBox*HyperlinkedIdentityField to use get_viewname * Adjust method to pass model instead of app_name and model_name * Adjust methods to use get_viewname --- <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#15109