keyring calls account->sync() multiple times on same account
Bug #1281716 reported by
Mike McCracken
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntuone-credentials (Ubuntu) |
Fix Released
|
Low
|
dobey |
Bug Description
from mardy:
By the way (probably unrelated, but it may be that fixing this will fix
this bug as well), I think that I already pointed out that when creating
an account, the "sync()" method should be called just once; calling it
multiple times could confuse any other processes who are interested in
U1 accounts: if they are running while the account is being created,
they would see the new account being created, but they would find
incomplete information on it, if they try to access it before the second
sync() call has added the CredentialsId field. So, they would probably
be unable to use the account until they are restarted.
Related branches
lp:~dobey/ubuntuone-credentials/fix-cancel
- Alberto Mardegan (community): Approve
- Alejandro J. Cura (community): Approve
- PS Jenkins bot: Needs Fixing (continuous-integration)
-
Diff: 223 lines (+36/-65)5 files modifieddebian/libubuntuoneauth-2.0-0.symbols (+1/-0)
libubuntuoneauth/keyring.cpp (+29/-44)
libubuntuoneauth/keyring.h (+4/-1)
libubuntuoneauth/ssoservice.cpp (+1/-1)
online-accounts-provider/NewAccount.qml (+1/-19)
Changed in ubuntuone-credentials (Ubuntu): | |
status: | New → In Progress |
assignee: | nobody → Rodney Dawes (dobey) |
Changed in ubuntuone-credentials (Ubuntu): | |
status: | In Progress → Fix Released |
To post a comment you must log in.