accounts are lost each time the app is updated from the store or run on the device from qtc
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| | Canonical System Image |
High
|
David Barth | ||
| | Online Accounts setup for Ubuntu Touch |
High
|
Alberto Mardegan | ||
| | webapps-sprint |
High
|
Alberto Mardegan | ||
| | qtcreator-plugin-ubuntu (Ubuntu) |
High
|
Unassigned | ||
Bug Description
In vivid, whenever I run an app containing an Online Accounts plugin on the device, all my accounts are destroyed. This makes working with online Accounts extremely cumbersome as one needs to re-enter account credentials on every run.
This does not happen if I install an already installed package manually with pkcon. However, it does happen too if I uninstall the previously installed package and then install it again.
This can be reproduced by branching lp:reminders-app, and running it on the phone using QtCreator. When being asked for setting up an Evernote account, say yes, set it up and then close the app. Restart it from QtCreator and the account will be gone.
IMPORTANT: There is a setting in the SDK which says "Uninstall application after it finished". Besides that this setting will always destroy online accounts (which IMO it should not) current situation will also destroy accounts if this setting is NOT checked!
Related branches
- David Barth (community): Approve on 2015-08-04
- PS Jenkins bot: Approve (continuous-integration) on 2015-08-04
-
Diff: 52 lines (+13/-3)3 files modifiedclick-hooks/main.cpp (+3/-2)
debian/changelog (+6/-0)
tests/click-hooks/tst_online_accounts_hooks.cpp (+4/-1)
| description: | updated |
| Alberto Mardegan (mardy) wrote : | #1 |
| Michael Zanetti (mzanetti) wrote : | #2 |
No, only the Evernote ones.
| Benjamin Zeller (zeller-benjamin) wrote : | #3 |
This happens because the old package is uninstalled before the new one is installed. This is essential when dealing with scopes that are stopped when uninstalled and makes sure everything is installed properly.
Not sure if this is a actual bug or how to handle that in a better way.
Suggestions?
| Alan Pope 🍺🐧🐱 🦄 (popey) wrote : | #4 |
This happens for non-developers too.
Scenario:-
User has Reminders (which has an online accounts plugin for Evernote) installed and connected to Evernote
User upgrades to OTA-4 - bring them vivid where the bug is present
User later upgrades to new version of Reminders from the store.
At this point their Evernote account is gone.
They open Reminders and it pops up a box acting like they never had it connected to Evernote in the first place.
Easy to reproduce on a device running vivid.
Install http://
System settings -> Accounts -> Evernote
Setup an account
Go into account, slide switch to enable its use for reminders.
Open Reminders, show that you can see your online notes.
Close reminders
Close system settings / online accounts
Open system settings -> updates
Update Reminders to the latest version in the store
Open System settings -> Accounts
Note your Evernote account is gone.
Expectation is that it would still be there.
| summary: |
- accounts are lost each time the app is ran on the device + accounts are lost each time the app is updated or run on the device from + qtc |
| Changed in canonical-devices-system-image: | |
| assignee: | nobody → David Barth (dbarth) |
| importance: | Undecided → High |
| milestone: | none → ww26-2015 |
| status: | New → Confirmed |
| summary: |
- accounts are lost each time the app is updated or run on the device from - qtc + accounts are lost each time the app is updated from the store or run on + the device from qtc |
| Launchpad Janitor (janitor) wrote : | #5 |
Status changed to 'Confirmed' because the bug affects multiple users.
| Changed in qtcreator-plugin-ubuntu (Ubuntu): | |
| status: | New → Confirmed |
| Changed in ubuntu-system-settings-online-accounts: | |
| assignee: | nobody → Alberto Mardegan (mardy) |
| importance: | Undecided → High |
| status: | New → Triaged |
| Changed in webapps-sprint: | |
| status: | New → Triaged |
| importance: | Undecided → High |
| assignee: | nobody → Alberto Mardegan (mardy) |
| milestone: | none → sprint-11 |
| Changed in ubuntu-system-settings-online-accounts: | |
| status: | Triaged → In Progress |
| Pat McGowan (pat-mcgowan) wrote : | #6 |
Whats up with the MR
| Changed in canonical-devices-system-image: | |
| milestone: | ww26-2015 → ww34-2015 |
| Changed in canonical-devices-system-image: | |
| status: | Confirmed → In Progress |
| Changed in webapps-sprint: | |
| milestone: | sprint-11 → sprint-12 |
| Changed in canonical-devices-system-image: | |
| status: | In Progress → Fix Committed |
| Changed in canonical-devices-system-image: | |
| status: | Fix Committed → Fix Released |
| David Barth (dbarth) wrote : | #7 |
Just keeping the qtc plugin task open, as Zoltan wanted to make the configuration change immediate (as opposed to having to restart QTC).
| Changed in ubuntu-system-settings-online-accounts: | |
| status: | In Progress → Fix Released |
| Changed in webapps-sprint: | |
| status: | Triaged → Fix Released |
| Changed in qtcreator-plugin-ubuntu (Ubuntu): | |
| status: | Confirmed → Fix Committed |
| status: | Fix Committed → Fix Released |


Just to be sure I understand correctly: are you saying that also your non-Evernote accounts (Google, Facebook, etc.) are getting deleted, or only the Evernote ones?