After Login I have to refresh the page again #44
Labels
No labels
bug
design
duplicate
enhancement
help wanted
invalid
needs testing on live
nice2have
question
translation
upstream
wontfix
No milestone
No project
No assignees
4 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: potsda.mn/mobilizon#44
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
After the Login I am still in the not-login-mode and have to refresh the page. For shure a lot of people do not know this.
I observed this and it seems to happen only some of the times. The way I remember it one had to even force-reload the page, which is even more inaccessible (and actually not possible on mobile).
If I logout and login again, everything seems to work. The issue seems to happen when I logout, refresh the page and then try to login, so in a way, the issue occurs on newly loaded/reloaded pages.
I had a look and the issue seems to be in
views/User/LoginView.vue
line 249 when trying the load the current User Identities via apollo'suseLazyQuery
(when the issue happen, the execution stops there / no result or promise are returned even tho the request to the server is successful)anyway, I found the following issue on github that seems to have some answers but I'm not sure yet how to implement them (the discussion seem to be about an issue in React and not vue tho, but the issue seems similar to the one we're having):
https://github.com/apollographql/apollo-client/issues/9354
more specifically, the following comments:
For me its still like this - on Laptop (Ubuntu+Firefox) and Smartphone(Android+Firefox).
Just managed to reproduce this issue on a vanilla Mobilizon 4.1.0, so it's definetly upstream relevant.
Created an issue upstream, as I'm able to reproduce on their flagship instance https://mobilizon.fr
https://framagit.org/framasoft/mobilizon/-/issues/1430
Still problematic on new version 4 (4th of March)
Should be fixed now by
adc61a9234