Contacts synced from exchange server multiplied

asked 2014-07-16 19:39:33 +0200

AK gravatar image

updated 2014-07-18 15:59:55 +0200

jiit gravatar image

I have my contacts synced in an exchange server. For some time I have noticed my phone lagging a lot and draining battery fast, but I haven't paid any attention to it. A couple days ago I noticed that the People app takes a long time to load and when it finally loads, some of the contacts are multiplied. Now, I didn't pay much attention to this either, until I checked today how many contacts there are in the exchange server. I originally had ~300 contacts, but there were ~24000 contacts in the server. Not all the contacts had multiplied, but those that were, there were really many copies.

I checked with htop that voicecall-ui and contactsd were using ~95% of cpu.

I tried to resolve this issue by recovering the server side contacts from a backup, which did not help. I also tried to delete the exchange account, which also did not delete the contacts. Finally I removed the contacts by removing the qtcontacts-sqlite directory as mentioned here: https://together.jolla.com/question/10161/fixed-in-1038-how-to-delete-manyall-contacts-from-people-app/#post-id-14706

The contacts muliplying is one issue, but shouldn't the deleting the exchange account remove the contacts associated to the account?

edit retag flag offensive close delete

Comments

This is definitely a bug. Yes, deleting the exchange account should cause the exchange contacts to be deleted from the device. If they were not, I suspect that what happened was that (due to the large local-device data set) the sync was taking a very long time, and timing out before completion. This failure might even result in a dirty sync state which somehow results in more duplicates being created. We will investigate this.

Are you still seeing the duplication behaviour, after removing your contacts database and re-adding the account? Or is the sync process now working correctly, without causing duplication?

chris.adams ( 2014-07-21 04:41:54 +0200 )edit

There has not been duplications anymore, at least for now.

AK ( 2014-07-21 15:04:30 +0200 )edit

I have the same problem. I am using Google-mail on Windows 8.1 and Outlook is integrated to work with my company Google-account. I have seen that Facebook-contacts have been also synced to "Persons"("Henkilöt"), although I have not asked for that integration. Now persons-app, phone and text-messages are working really slowly, as persons app-is giving contact data really slowly. Could you give some ideas what to do? Calendar is working fine by the way in both directions with Google-calendar in the pc and phone, good work.

Jollaten ( 2014-08-25 15:39:46 +0200 )edit

@Jollaten Those are probably the contacts associated to Facebook IM(messages), there's no way to make them disappear other than disable the service, they are temporary saved only and should not be saved to any other service, same for other contacts synced from services. You can manage that in Settings->Accounts-> Your FB/Google account, there are switches to select what data gets synced from the services.

VDVsx ( 2014-08-25 18:45:03 +0200 )edit

It seems that Facebook is saving all my contacts to phone's address book with photo's and everything. I am using Android app for Facebook. This is fine, there is no problem with that. But those contacts are now being multiplied which are only in phone's memory, i.e. in "Persons" (Henkilöt) application. Some of them several hundreds times. Would do you suggest? Do you think after stopping Google and Facebook contact sync, this multiplying syndrom would stop? Most practical would of course be, if this could be fixed with next Os update (cleaning all multiplied contacts from "Persons").

Jollaten ( 2014-08-26 10:27:27 +0200 )edit