New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sync / Login loop #70
Comments
Is this the same issue as #31 ? Probably it's at least somehow related. If there is a radically better/simpler solution for this mixing of sync and login I would be more than happy. |
Ok, found the bug. This line is actually the problem. It resets |
@liwde is this still possible? |
Recent changes (#130) reintroduced this bug in the master. fb7123d does work (all logging through AlertService) I'm investigating, but currently I don't see where the issue is coming from. I tried to implement @fschoell's solution, but then the login didn't work at all. I will continue investigating next week. |
So this is only occurring when the remote login succeeds and the local login fails? That would be a fringe case that only occurs on an inconsistent database, isn't it? |
The problem is when the user can be authenticated on the remote database but somehow not locally.
I had this problem currently on the
entity_mapper
branch. The local login fails (username / password not correct because of the prefix change). However, due to the failed local login theLoginComponent
get's stuck in a loop. FirstonLoginFailure()
is called, which then callsretryLoginAfterSync()
, which subscribes to the database sync status and then (because the sync actually works) will be notified about the completed sync, which then leads to another call tologin()
, which triggers another remote authentication and because this works (and the local authentication not), this triggers a new sync and the whole procedure fromonLoginFailure()
starts again.The text was updated successfully, but these errors were encountered: