Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Bug in report serialization #13945

Closed

Conversation

Haeki
Copy link

@Haeki Haeki commented Oct 2, 2023

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.

@jeremystretch
Copy link
Member

Hi @Haeki, thank you for working on this, however it seems to have been resolved by @arthanson in PR #13958. While your approach is valid, the alternative solution of instantiating the report prior to serialization is more consistent with how reports are handled under the UI views, and avoids a potentially breaking change to the Report class.

@Haeki Haeki deleted the 13944-fix-report-serialization branch October 3, 2023 19:00
@Haeki
Copy link
Author

Haeki commented Oct 3, 2023

No problem. I'm Happy this got resolved so fast.
Thank you for all the work.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 3, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants