haumea-group / namaka

user comments and 5-star reviews
MIT License
2 stars 1 forks source link

🐛 mysteriously sporadic "user not found" bug #122

Open chase-moskal opened 2 years ago

chase-moskal commented 2 years ago

sometimes, when we load up or refresh the app demo, the page is broken, and there's a javascript console error, something like "user id 'abc123...' is not found", or something like that

we've been unable to reproduce the bug...

zenkyuv commented 2 years ago

Steps to reproduce bug:

  1. Click login(admin)
  2. Post a comment
  3. Wipe database
  4. Post a comment
  5. Refresh page
zenkyuv commented 2 years ago

Ways to fix it: When wipe database is clicekd we should decide if we want to just wipe comments or if we also want to logout the user

chase-moskal commented 2 years ago

@zenkyuv

hmm, we'll need to wipe the whole app state whenever wipe database is pressed