https://bugs.kde.org/show_bug.cgi?id=421664
Fabian Vogt <fab...@ritter-vogt.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|CONFIRMED |RESOLVED Latest Commit| |https://invent.kde.org/pim/ | |libkgapi/commit/d677a08c21f | |d99e7e8be0a0899f797f9237207 | |e4 Resolution|--- |FIXED --- Comment #14 from Fabian Vogt <fab...@ritter-vogt.de> --- Git commit d677a08c21fd99e7e8be0a0899f797f9237207e4 by Fabian Vogt. Committed on 22/11/2022 at 07:19. Pushed by fvogt into branch 'release/22.12'. Don't cache promises for AccountManager::findAccount Unlike AccountManager::getAccount and AccountManager::refreshTokens, this method does not return an authenticated account. However, the promises are cached for all of them in the same store, so it was possible for a call to e.g. refreshTokens to get a promise created by findAccount instead, resulting in an unexpected result. Just don't cache promises created by findAccount. Related: bug 406839, bug 409122, bug 456923 M +18 -20 src/core/accountmanager.cpp https://invent.kde.org/pim/libkgapi/commit/d677a08c21fd99e7e8be0a0899f797f9237207e4 -- You are receiving this mail because: You are watching all bug changes.