We have moved to a new Sailfish OS Forum. Please start new discussions there.
2

Bug: Incomplete ActiveSync contact sync [released]

asked 2014-02-01 11:16:08 +0200

alex25 gravatar image

updated 2014-03-04 08:56:10 +0200

VDVsx gravatar image

Short version:
I have 192 contacts in my exchange account, only 160 of them are synced to the Jolla.

Long version:
"/usr/bin/contacts-tool list" shows only 160 entries (the same as in the contact app). I found out all the missing contacts on the Jolla are created or modified recently. (In the outlook client it is possible to sort by "changed date".) So it seems the contact sync process stops at some point. Older contacts are synced ok during the initial sync after creating the exchange account on the Jolla. Changes to existing contacts (on the exchange side) as well as new contacts are not synced to the Jolla (after the first initial sync).
Deleting the exchange account on the Jolla and recreate it gives the same result. The same contacts are missing. There is nothing special with this contacts.
Modifying an "old" contact on the exchange (and recreate the exchange account on the Jolla) makes this contact to no longer sync to the Jolla. However another contact (the next one according to change date) is synced in that case (gives still a total of 160 contacts on the device). Is there a limitation of 160 contacts?
Restarting the contact daemon in the console (using "/usr/bin/contactsd --log-console") shows no obvious error messages. Is there anything else to try to debug the problem?

Obviously for most of the Jolla users the contact sync via ActiveSync works ok. For me the problem exists since the initial firmware version. I hoped the problem would be solved with the latest firmware 1.0.3.8. However this is not the case. Syncing of mails and calendar entries works as expected, the problem is only with contacts. ActiveSync with Exchange 2013 is used.

edit retag flag offensive reopen delete

The question has been closed for the following reason "released in a software update" by VDVsx
close date 2014-03-18 10:10:52.977972

Comments

This seems to be a duplicate of https://together.jolla.com/question/9902/mfe-exchange-sync-no-profiled-contacts-no-globals-and-no-two-way/ and a major issue for those relying on an existing Exchange infrastructure for their contacts. I'm not affected myself but know people who are.

ossi1967 ( 2014-02-01 12:41:48 +0200 )edit

Hi, Alex25! Thx ever so much for your hint... it solved my problem, too. (sometimes partners can be disturbing, indeed... lol)

warmekueche ( 2014-02-01 17:07:02 +0200 )edit

3 Answers

Sort by » oldest newest most voted
3

answered 2014-02-01 13:38:19 +0200

alex25 gravatar image

I found the problem (at least for my problem). One of the contacts had a spouse ("Partner" in german) set. Removing this value from this particular contact fixed the issues. All contacts are correctly synced now. All modification on contacts are instantly sync to the Jolla now. The bug should be easily to fix by Jolla now.

I found it out by further analyze the activesync logs:

...
[1166] Feb. 01 12:03:38 [Debug] AS_LIB :        <Contacts::Spouse>Natalie</Contacts::Spouse>
...
[1166] Feb. 01 12:03:38 [Debug] Contacts :  url  ""  spouse "Natalie" 
...
[1166] Feb. 01 12:03:38 [Debug] Contacts :  ContactsSyncStart signal is sent for account 16 
[1166] Feb. 01 12:03:38 [Warning] "Invalid detail type: Family" 
[1166] Feb. 01 12:03:38 [Warning] "Error creating contact: 3 syncTarget: MfE#16" 
[1166] Feb. 01 12:03:38 [Error] bool save(QtContacts::QContactManager&, QList<QtContacts::QContact>&, OrderedItemPtrs&, int) failed to save contacts, err = 3 
[1166] Feb. 01 12:03:38 [Debug] Contacts :  droping 0 contacts 
[1166] Feb. 01 12:03:38 [Error] ExternalFolder "118" ( "Kontakte" ): error while applying server changes 
[1166] Feb. 01 12:03:38 [Error] Folder "118" ( "Kontakte" ): GenericFolder::updateItems() error while saving server changes 
[1166] Feb. 01 12:03:38 [Error] AS_LIB : Error while applying server changes. Abort sync for folder 118 
[1166] Feb. 01 12:03:38 [Debug] AS_LIB :  Folder 118, trying to advance to state 7 
[1166] Feb. 01 12:03:38 [Debug] Contacts :  virtual void ContactsStorageImpl::dupeSearchMode(bool) search dupes is already false 
[1166] Feb. 01 12:03:38 [Debug] General :  Folder "118" ( "Kontakte" ): GenericFolder::syncCompleted( failed ) 
[1166] Feb. 01 12:03:38 [Debug] General :  Job JobSync(0x2333858) (Sync): progress changed to 0 
[1166] Feb. 01 12:03:38 [Debug] Storage :  MfeStorage::saveFolder( 2262 ) 
[1166] Feb. 01 12:03:38 [Debug] Storage :  MfeStorage::saveFolder (5)  
[1166] Feb. 01 12:03:38 [Debug] Storage :  MfeStorage::saveFolder (6)  
[1166] Feb. 01 12:03:38 [Debug] Storage :  updating custom fields for 1 ids in table ' "folderscustom" ' 
[1166] Feb. 01 12:03:38 [Debug] Storage :  Table:  "folderscustom" 
[1166] Feb. 01 12:03:38 [Debug] Storage :  -1 records found 
[1166] Feb. 01 12:03:38 [Debug] Storage :  insert 1 , update 2 , delete 0 custom records 
[1166] Feb. 01 12:03:38 [Debug] Storage :  MfeStorage::saveFolder (7)  
[1166] Feb. 01 12:03:38 [Debug] Contacts :  ContactsSyncEnd signal is sent for account 16 created 1 , deleted 1
edit flag offensive delete publish link more

Comments

@alex25 Stupid question. Where / how do you get activesync log in Jolla (JollaC).

Manwe ( 2016-08-10 16:51:25 +0200 )edit
2

answered 2014-02-01 16:58:55 +0200

warmekueche gravatar image

updated 2014-02-01 17:06:37 +0200

Hi, Alex25! Thx ever so much for your hint... it solved my problem, too. (sometimes partners can be disturbing, indeed... lol)

edit flag offensive delete publish link more
2

answered 2014-03-17 20:56:15 +0200

VDVsx gravatar image

Fixed in Sailfish 1.0.4.20, Ohijärvi, account re-creation is needed, if you still have issues please comment here.

edit flag offensive delete publish link more

Comments

Confirmed. Fixed in 1.0.4.20.

alex25 ( 2014-03-17 22:17:27 +0200 )edit

Problem not fixed for me... Recently reset my phone, since then a couple of my Exchange contacts aren't synced anymore or miss phone numbers.

molan ( 2014-06-06 17:05:15 +0200 )edit

@caprico - Did you created the account after all updates ? if you reset the phone it went to a older version of the OS, ot have everything working as expected you should create the acct using mentioned version or latest than that.

VDVsx ( 2014-06-07 11:05:57 +0200 )edit

@VDVxs Thanks for your reply. I created the account after re-installing all the updates. Even the backup brought back same missing phone numbers. But it seems that the problem is gone for me since 1.0.7.16 Saapunki :-) So everything's all right now.

molan ( 2014-06-11 13:24:36 +0200 )edit

Question tools

Follow
1 follower

Stats

Asked: 2014-02-01 11:16:08 +0200

Seen: 734 times

Last updated: Mar 17 '14