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: Infinite petitions if user statistics do not exist #250

Merged

Conversation

jjgancfer
Copy link
Contributor

Working in the new game implementation with the new menu, I have found in UserStatistics that causes infinite petitions to be sent if the user statistics do not exist. This bug also caused two statistics entries to be created in database, so it kept failing not because it did not have the user statistics, but because there where two entries retrieved.

@jjgancfer jjgancfer added bug 🐛 Something isn't working frontend 👁️ Frontend issue ASAP 🚨 Urgent issue labels Apr 17, 2024
@jjgancfer jjgancfer added this to the Final presentation milestone Apr 17, 2024
@jjgancfer jjgancfer self-assigned this Apr 17, 2024
Copy link
Contributor

@gony02 gony02 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perfect

@jjgancfer
Copy link
Contributor Author

Hmmm. The tests seem to fail. Apparently, this seems to be because it tis using the old dashboard tests.

@Toto-hitori Toto-hitori merged commit 2e2bdb5 into feat/webapp/user-menu Apr 19, 2024
1 check failed
@jjgancfer jjgancfer deleted the fix/webapp/user-statistics-multiple-renders branch April 19, 2024 11:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ASAP 🚨 Urgent issue bug 🐛 Something isn't working frontend 👁️ Frontend issue
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants