[Contacts] Permission dialog shows in already granted account
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| | Canonical System Image |
High
|
Bill Filler | ||
| | address-book-app (Ubuntu) |
High
|
Renato Araujo Oliveira Filho | ||
Bug Description
Test case.
- Open System Settings > Accounts
- Create Google Account.
- Edit account to grant permissions to Contacts.
- Open Address Book app.
- Tap to "Import contacts from Google".
Expected result.
- Google contacts are imported.
Actual result.
- Google login page is displayed.
http://
current build number: 145
device name: arale
channel: ubuntu-
| Alberto Mardegan (mardy) wrote : | #1 |
| affects: | ubuntu-system-settings-online-accounts → address-book-app |
| Changed in canonical-devices-system-image: | |
| assignee: | nobody → Bill Filler (bfiller) |
| importance: | Undecided → High |
| milestone: | none → ww46-2015 |
| status: | New → Confirmed |
| Changed in address-book-app: | |
| assignee: | nobody → Renato Araujo Oliveira Filho (renatofilho) |
| importance: | Undecided → High |
The "import from google" will always create a new account even if you already have a google account registered. This was a designer decision.
If the account is enabled and the contacts did not get synced, this can be a different bug.
Try to disabled and re-enable the account. If you still have problem after that, please attach your sync-monitor.log file (.cache/
| affects: | address-book-app → address-book-app (Ubuntu) |
| Víctor R. Ruiz (vrruiz) wrote : | #3 |
I just retested and the Contacts are already imported when messaging app is opened.
| Bill Filler (bfiller) wrote : | #4 |
please reopen if this is still an issue
| Changed in canonical-devices-system-image: | |
| status: | Confirmed → Invalid |
| Changed in address-book-app (Ubuntu): | |
| status: | New → Invalid |
| Changed in canonical-devices-system-image: | |
| milestone: | ww46-2015 → none |


Victor pasted the output of "account-console show <account-id>", which contains:
==== buteo-contacts
Settings for google-
enabled: True (<class 'bool'>)
====
So, the Contacts service is enabled. However, as the logs from http:// paste.ubuntu. com/12893637/ show, address-book-app is requesting access to a google account (possibly because it thinks that the account is disabled, for some reason). Since all google accounts are already enabled, Online Accounts interprets the request as a desire to create a new account. That's why you see the Google login page.
If you continue with the login, you'll see that a second Google account will be created.