You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sometimes when logging out, logging back in, and checking schedules, no schedules appear for any semester, and for the current semester, it shows the "not enrolled for this semester" message despite being registered for classes.
I haven't figured out exact reproduction steps, but I think I've encountered this bug using these steps:
Open UTilities.
Log in (using persistent login).
Press Schedule.
???? (In my experience, this step has been going to the home screen and doing things for a few minutes. Key thing here seems to be doing enough such that UTilities gets kicked out of memory or something. Sorry this step is so unclear. Speaking with @NasaGeek, we think it might have to do with some auth cookies expiring but not all.)
Relaunch UTilities. This should bring back the schedule view but show a message about being logged out of UTDirect.
Go back to the main view.
Log out if necessary and log back in.
Press Schedule again. This should show the "not enrolled" message.
A workaround for this is to completely exit UTilities by swiping it out through the recents menu and relaunching it.
I may look into this bug myself if I have time.
The text was updated successfully, but these errors were encountered:
Because logging out doesn't fix this, I'm pretty sure this is an issue related to not clearing all the appropriate cookies that get set upon login when logging out. Simple fix might be to just clear the entire CookieManager when logging out. I also remember seeing a logcat complaining about cookies one time when I tried to investigate this issue a couple weeks ago.
Just managed to pull a logcat when this occurred, but didn't see anything of interest.
edit: I can now reliably reproduce this by killing the app's process from Android Studio and then relaunching it, though (very similar to your methodology, @andrewlin16)
Sometimes when logging out, logging back in, and checking schedules, no schedules appear for any semester, and for the current semester, it shows the "not enrolled for this semester" message despite being registered for classes.
I haven't figured out exact reproduction steps, but I think I've encountered this bug using these steps:
A workaround for this is to completely exit UTilities by swiping it out through the recents menu and relaunching it.
I may look into this bug myself if I have time.
The text was updated successfully, but these errors were encountered: