NewcastleRSE / dolfin-flutter

The Flutter-based app for the Dolfin Project
1 stars 0 forks source link

Options Menu Crashes #80

Closed mdsimpson42 closed 2 years ago

mdsimpson42 commented 2 years ago

The options menu sometimes crashes on load, which prevents you from being able to log out of the app. Possibly connected to https://sentry.io/organizations/ncl-rse/issues/3402481224/?project=6324285&query=is%3Aunresolved

mdsimpson42 commented 2 years ago

I believe this happens if you try to access the menu immediately after a user is created. For some reason, the current user ends up being NULL. It seems to stop happening after some time has passed or when you log back in later on.

The part that is crashing is the Three Months check, so we can just bypass that if the user object is null...?

mdsimpson42 commented 2 years ago

Fixed by Commit on Features (see above) - Merged into Dev