Bug 305374

Summary: kontact does not correctly update/show birthday
Product: [Frameworks and Libraries] libkgapi Reporter: Matthias Nagel <matthias.nagel>
Component: contactsAssignee: Daniel Vrátil <dvratil>
Status: RESOLVED FIXED    
Severity: normal CC: johu, kdepim-bugs
Priority: NOR    
Version: 0.4.0   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In: 0.4.2

Description Matthias Nagel 2012-08-18 08:39:29 UTC
I recently switched from local contacts to Google Contacts and use kde-misc/akonadi-google-20120619.

To migrate all my local contacts I exported them into a vCard and uploaded that vCard to Google.

The birthday field was correctly set in the vCard and imported into Google Contact. (If I look at the contact via the Google web interface.)

But if I a look at the same contact in kontact-4.8.3 (via kde-misc/akonadi-google) the birthday is not shown.

If I edit the birthday field in kontact-4.8.3, these updates are not synchronized with google. The birthday is shown as long as Kontact uses the local cash for this contact, but as soon as the contact is reloaded from google the birthday field is empty again.

Reproducible: Sometimes

Steps to Reproduce:
1. Create a contact in Google GMail with a non-empty birthday field
2. Open this contact in kontact via kde-misc/akonadi-google
3.
Actual Results:  
Birthday field is empty

Expected Results:  
Non-empty birthday
Comment 1 Daniel Vrátil 2012-08-20 10:12:45 UTC
Git commit 2888b2a86e92bb2fc38816bca004c5175aadb112 by Dan Vrátil.
Committed on 20/08/2012 at 11:22.
Pushed by dvratil into branch 'LibKGAPI/0.4'.

Fix contact birthday synchronization
    
Apparently, QDateTime::isValid() returns false when only
the date is valid, but time not.
    
FIXED-IN: 0.4.2

http://commits.kde.org/akonadi-google/2888b2a86e92bb2fc38816bca004c5175aadb112