[PR #13867] [MERGED] Fixes #13849: Fix label resolution during serialization for removed field choices #14268

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

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/13867
Author: @jeremystretch
Created: 9/22/2023
Status: Merged
Merged: 9/26/2023
Merged by: @jeremystretch

Base: developHead: 13849-choice-serialization-fallback


📝 Commits (2)

  • 2a9b589 Fixes #13849: Fix label resolution during serialization for removed field choices
  • b36f2ba Cleanup

📊 Changes

1 file changed (+7 additions, -6 deletions)

View changed files

📝 netbox/netbox/api/fields.py (+7 -6)

📄 Description

Fixes: #13849

Use an empty string in place of the label for a field choice which is no longer valid.


🔄 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/13867 **Author:** [@jeremystretch](https://github.com/jeremystretch) **Created:** 9/22/2023 **Status:** ✅ Merged **Merged:** 9/26/2023 **Merged by:** [@jeremystretch](https://github.com/jeremystretch) **Base:** `develop` ← **Head:** `13849-choice-serialization-fallback` --- ### 📝 Commits (2) - [`2a9b589`](https://github.com/netbox-community/netbox/commit/2a9b58925c5c9dbbcb297effa4c542225cbfa32d) Fixes #13849: Fix label resolution during serialization for removed field choices - [`b36f2ba`](https://github.com/netbox-community/netbox/commit/b36f2ba1c96822cbd56a5e4ebbd6b1026190e460) Cleanup ### 📊 Changes **1 file changed** (+7 additions, -6 deletions) <details> <summary>View changed files</summary> 📝 `netbox/netbox/api/fields.py` (+7 -6) </details> ### 📄 Description ### Fixes: #13849 Use an empty string in place of the label for a field choice which is no longer valid. --- <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:23:31 +01:00
adam closed this issue 2025-12-29 23:23:31 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#14268