Bug 475649 - Data loss when syncing Google contacts to Kaddressbook due to missing fields, wrong mapping and edits not saving.
Summary: Data loss when syncing Google contacts to Kaddressbook due to missing fields,...
Status: REPORTED
Alias: None
Product: kaddressbook
Classification: Applications
Component: general (show other bugs)
Version: 5.24.1
Platform: Manjaro Linux
: NOR major
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-10-15 08:15 UTC by Joel
Modified: 2023-10-15 08:16 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Joel 2023-10-15 08:15:22 UTC
SUMMARY

1. Google >> Kaddressbook - many fields are not synced e.g. address, notes, etc. and those that are get mapped to the wrong tags. e.g. "mobile" gets mapped to "home".

2. Kaddressbook >> Google - new contact.  Fields are mapped correctly to Google but don't stick on Kaddressbook e.g.  "Mobile" gets switched to "Home"

3. Kaddressbook >> Google - changed contact.  The wrongly mapped tags in Kaddressbook from 1. and 2. now get mapped to Google.  Any tags changed in Kaddressbook don't stick as in 2.  The fields missing in Kaddressbood from Step 1 get deleted on Google.


STEPS TO REPRODUCE

1.  Kaddressbook (or Kontact)  >>  add address book  >>  Google Groupware  >>  authorize >> sync >> compare Kaddressbook entries with Google contacts.

2.  Kaddressbook  >>  create new contact with field name=Test1 and phone1=1234-567890  >> tag phone1 as "mobile" >> save and sync.

3.  Compare the uploaded Google contacts version with the one in Kaddressbook.

4.  Google contacts  >>  create new contact with fields name=Test2, phone1=0987-654321, address=xxxx >> tag phone1 as "mobile" >> save, sync to Kaddressbook and compare both versions.

4   Kaddressbook >> edit the synced contact "Test2"  >> add new field phone2=2244-345678 and tag as "other" >> save, sync compare as before.


OBSERVED RESULT

1.  All contacts synced to Kaddressbook are missing fields such as address, notes, location, etc,.  The fields that were synced have incorrectly mapped tags. e.g. "Home" instead "Mobile".  Changing the tag back to "Mobile" doesn't stick, Kaddressbook reverts it back to "Home" after approx 1 second.  The version on Google doesn't change.

2.  With the new contact "Test1", Kaddressbook changes the "Mobile" tag to "Home" approx 1 second after saving however the Google version displays it correctly of "Mobile". 

3.  Kaddressbook changes the "Mobile" tag of the new "Test2" contact to "Home" immediately on download and the address field is missing.

4.  Kaddressbook changes the "Other" tag to either "Home" or "Work" after editing the "Test2" contact.  On Google the "Other" tag syncs correctly but the address field, missing in Kaddressbook due to the previous sync error, now gets deleted.


EXPECTED RESULT

That all fields get synced and mapped to the correct tags in both the Google and Kaddressbook versions, that edits made in one version are correctly reflected in the other and that no data gets deleted due to sync or mapping errors.


SOFTWARE/OS VERSIONS

Linux/KDE Plasma: 5.27.8
KDE Plasma Version:  5.27.8
KDE Frameworks Version:  5.110.0
Qt Version:  5.15.11
Kernel Version:  6.1.55-1-MANJARO (64-bit)

ADDITIONAL INFORMATION