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

Resolve error when adding duplicate genus species before page reload #337

Merged
merged 1 commit into from
Oct 22, 2024

Conversation

MDeLuise
Copy link
Owner

Hey Plant-it community!

What's new?

This PR fixes #314, i.e. addresses an issue where attempting to add a plant from the same genus species that already exists in the user's collection would result in an error if the page is not reloaded before. The error was traced back to an assertion failure in Hibernate, which occurred during the collection initialization.

Why is it important?

User can now add multiple plants for a species belonging to floracodex without need to manually refresh the search page after the first plant added.

How to Use?

No additional actions are required from users.



Cheers and happy planting! 🌿🌼

Copy link

📝 Coverage Report For Server Service

Overall Project 50.24% 🟢

There is no coverage information present for the Files changed

@MDeLuise MDeLuise merged commit cd5bff5 into main Oct 22, 2024
3 checks passed
@MDeLuise MDeLuise deleted the fix-sameGenus branch October 22, 2024 13:47
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.

org.hibernate.AssertionFailure: force initializing collection loading
1 participant