Bug #17231

Stuck on loading screen after login

Added by Peter Amstutz 9 months ago. Updated 9 months ago.

Status:
Resolved
Priority:
Normal
Assigned To:
Category:
Workbench2
Target version:
Start date:
01/13/2021
Due date:
% Done:

100%

Estimated time:
(Total: 0.00 h)
Story points:
-
Release relationship:
Auto

Description

I don't know if this happens every time or just sometimes, but after logging in, I get stuck at a screen with a spinner and the app never loads. The workaround is to reload the page.


Subtasks

Task #17243: ReviewResolvedPeter Amstutz

Associated revisions

Revision df6ddb0c
Added by Daniel Kutyła 9 months ago

Merge branch '17231-stuck-on-loading-page-after-login'
closes #17231

Arvados-DCO-1.1-Signed-off-by: Daniel Kutyła <>

History

#1 Updated by Peter Amstutz 9 months ago

  • Description updated (diff)
  • Subject changed from Sometimes stuck on loading screen after login to Stuck on loading screen after login

#2 Updated by Peter Amstutz 9 months ago

  • Target version set to 2021-01-06 Sprint

#3 Updated by Peter Amstutz 9 months ago

  • Assigned To set to Daniel Kutyła

#4 Updated by Daniel Kutyła 9 months ago

  • Status changed from New to In Progress

#6 Updated by Peter Amstutz 9 months ago

  • Target version changed from 2021-01-06 Sprint to 2021-01-20 Sprint

#7 Updated by Peter Amstutz 9 months ago

From chat:

from what I see when this replace action is triggered there is no user data within the store
that is why I am saying that store is not ready

yea I see. the redirect is chained after saveApiToken() but if you look at saveApiToken() it looks like the getUserDetails promise is what gets returned
so the the INIT_USER action and the redirect action get dispatched at the same time

so, I think we want to return a promise from saveApiToken() that calls back after INIT_USER
like, the timeout trick works, but it's a hack, we should sequence the callbacks correctly

#10 Updated by Daniel Kutyła 9 months ago

  • Status changed from In Progress to Resolved

Also available in: Atom PDF