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

Fixed full resource serialization #417

Merged

Conversation

axl8713
Copy link
Collaborator

@axl8713 axl8713 commented Feb 26, 2025

Fetching the full resource object was causing serialization errors because of the lazy loading of the favoritedBy collection of User entities. The attributes of the user were therefore missing, throwing the exception reported in geosolutions-it/MapStore2#10781 (comment).

These changes fix the problem, avoiding returning the favoritedBy collection from the serialized resource.

@afabiani afabiani merged commit 19b9c26 into geosolutions-it:master Feb 26, 2025
2 checks passed
@axl8713 axl8713 deleted the fix-full-resource-serialization branch February 28, 2025 09:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Review pluginsConfig after introduction of new homepage plugins
2 participants