can't import contacts from google from messaging-app when no contacts exist

Bug #1583014 reported by Yuan-Chen Cheng
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Canonical System Image
Fix Released
High
Bill Filler
address-book-app (Ubuntu)
Fix Released
High
Renato Araujo Oliveira Filho
messaging-app (Ubuntu)
Fix Released
High
Renato Araujo Oliveira Filho

Bug Description

Trying to send an sms, I click on the "person" icon to choose a contact. I have none, and the options are "+ Create new", "Import contacts from Google" and " Import contacts from SIM card". If I click the google option it does nothing (shows loading and goes back to the same screen showing the options) I guess it should take me to the "add google account" config somehow instead?

Original reporter: Julia Palandri

Related branches

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in messaging-app (Ubuntu):
status: New → Confirmed
Bill Filler (bfiller)
Changed in address-book-app (Ubuntu):
assignee: nobody → Renato Araujo Oliveira Filho (renatofilho)
importance: Undecided → High
Changed in canonical-devices-system-image:
assignee: nobody → Bill Filler (bfiller)
milestone: none → 12
importance: Undecided → High
Changed in messaging-app (Ubuntu):
status: Confirmed → Invalid
Revision history for this message
Bill Filler (bfiller) wrote :

Note the same scenario works fine in dialer-app but is broken in messaging-app

Changed in canonical-devices-system-image:
status: New → Confirmed
Changed in address-book-app (Ubuntu):
status: New → Confirmed
Changed in messaging-app (Ubuntu):
status: Invalid → Confirmed
importance: Undecided → High
assignee: nobody → Renato Araujo Oliveira Filho (renatofilho)
summary: - can't import contacts from google from sms app
+ can't import contacts from google from messaging-app when no contacts
+ exist
Revision history for this message
Renato Araujo Oliveira Filho (renatofilho) wrote :

After some discussing with @Mardy. We discovered that what is causing the bug is that, the messaging app now is a confined app, with that it can not create accounts on behalf of address-book-app (contact account).

The solutions that we have are:

1 - Workaround online account daemon to accept this kind of action;
2 - Remove "import from google" button from messaging app;
3 - When the user click on "import from google" button from messaging app, it launches the address-book-app with a special argument, and the app launches the online account dialog.

I have implemented the solution number "3" on silo 46.

Any comments or suggestions?

Changed in online-accounts-api (Ubuntu):
assignee: nobody → Alberto Mardegan (mardy)
Revision history for this message
Selene ToyKeeper (toykeeper) wrote :

Seems to be fixed in silo 46.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package messaging-app - 0.1+16.10.20160621.4-0ubuntu1

---------------
messaging-app (0.1+16.10.20160621.4-0ubuntu1) yakkety; urgency=medium

  * Make sure that the placeholder text is visible for Contact Editor
    Page. (LP: #1592422)
  * overwrite "applicationId" used by online accounts. (LP: #1583014)

 -- Renato Araujo Oliveira Filho <email address hidden> Tue, 21 Jun 2016 15:55:35 +0000

Changed in messaging-app (Ubuntu):
status: Confirmed → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package address-book-app - 0.2+16.10.20160621.3-0ubuntu1

---------------
address-book-app (0.2+16.10.20160621.3-0ubuntu1) yakkety; urgency=medium

  * Allow modify "ApplicationId" used by online account. (LP: #1583014)
  * Does not autoremove temporary avatar. (LP: #1565941)

 -- Renato Araujo Oliveira Filho <email address hidden> Tue, 21 Jun 2016 15:16:05 +0000

Changed in address-book-app (Ubuntu):
status: Confirmed → Fix Released
Changed in canonical-devices-system-image:
status: Confirmed → Fix Committed
Changed in canonical-devices-system-image:
status: Fix Committed → Fix Released
Alberto Mardegan (mardy)
no longer affects: online-accounts-api (Ubuntu)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.