Bug 404691

Summary: change anything => "France" becomes "FR"
Product: [Frameworks and Libraries] libkgapi Reporter: Philippe ROUBACH <philippe.roubach>
Component: contactsAssignee: Daniel Vrátil <dvratil>
Status: REPORTED ---    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Philippe ROUBACH 2019-02-22 09:56:33 UTC
SUMMARY

choosing reverse name => "France" become "FR"

STEPS TO REPRODUCE
1. in "contact" tab > "Name" > Display choose "reverse name" then ok
2. sync
3. 

OBSERVED RESULT

in address

"France" becomes "FR"

EXPECTED RESULT

"France" stays "FR"

SOFTWARE/OS VERSIONS
Windows: 
MacOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 5.15.1
KDE Frameworks Version: 5.55.0
Qt Version: 5.12.1

ADDITIONAL INFORMATION

kontact 5.10.2
Comment 1 Daniel Vrátil 2019-02-24 21:52:25 UTC
I can't reproduce it :( Does the country also change in Google Contacts web interface?
Comment 2 Philippe ROUBACH 2019-02-24 22:44:07 UTC
in google contacts there is "France"

perhaps you must try to modify other data in kaddressbook
Comment 3 Philippe ROUBACH 2019-03-03 05:54:36 UTC
i found a new way to switch from "France" to "FR"

in google contacts modify something
sync
in kaddressbook you read now "FR"
Comment 4 Philippe ROUBACH 2019-03-13 07:36:42 UTC
there is an update about 18.12.3 and 5.55.0

it seems the patch

sam. 09 mars 2019 13:00:00 CET
lbeltrame@kde.org
- Update to 18.12.3
  * New bugfix release
  * For more details please see:
  * https://www.kde.org/announcements/announce-applications-18.12.3.php
- Changes since 18.12.2:
  * Fix googletalk protocol.
  * Contacts: fix email type deserialization (kde#398847)
- Dropped patches, now upstream:
  * Contacts-fix-email-type-deserialization.patch

has fixed the problem ("FR" became "France") but not completely. A few addresses "FR" stays "FR".
Comment 5 Philippe ROUBACH 2019-03-15 07:41:30 UTC
i can reproduce everytime the problem.

go to https://contacts.google.com/

change anything in a card then  "France" becomes "FR"
Comment 6 Philippe ROUBACH 2020-01-14 10:53:31 UTC
i reinstalled from zero kontact.

i enconter again this problem with some addresses: "FR" instead of "France"

SOFTWARE/OS VERSIONS
Windows: 
MacOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 5.17.5
KDE Frameworks Version: 5.66.0
Qt Version: 5.14.0

ADDITIONAL INFORMATION

kde apps 19.12.0
Comment 7 Philippe ROUBACH 2020-01-14 10:56:39 UTC
I encounter again this problem with some addresses: "FR" instead of "France", not by changing anything in a contact but when the address book in kaddressbook was filling from google contacts at the first sync.