[PR #13945] [CLOSED] Fix Bug in report serialization #14285

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

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/13945
Author: @Haeki
Created: 10/2/2023
Status: Closed

Base: developHead: 13944-fix-report-serialization


📝 Commits (1)

  • 6100cea change name field from @property to @classproperty

📊 Changes

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

View changed files

📝 netbox/extras/reports.py (+1 -1)

📄 Description

Fixes: #13944

The name field should be @classproperty so that it can be serialized correctly.

Im not sure if there are other fields that should be @classproperty instead of @property but this change is enough to fix the Bug i encountered.


🔄 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/13945 **Author:** [@Haeki](https://github.com/Haeki) **Created:** 10/2/2023 **Status:** ❌ Closed **Base:** `develop` ← **Head:** `13944-fix-report-serialization` --- ### 📝 Commits (1) - [`6100cea`](https://github.com/netbox-community/netbox/commit/6100cea251b1ae37d8a15fe9ce1c7340ec1c1d80) change name field from @property to @classproperty ### 📊 Changes **1 file changed** (+1 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `netbox/extras/reports.py` (+1 -1) </details> ### 📄 Description ### Fixes: #[13944](https://github.com/netbox-community/netbox/issues/13944) The name field should be `@classproperty` so that it can be serialized correctly. Im not sure if there are other fields that should be `@classproperty` instead of `@property` but this change is enough to fix the Bug i encountered. --- <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:36 +01:00
adam closed this issue 2025-12-29 23:23:36 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#14285