Bug 305374 - kontact does not correctly update/show birthday
Summary: kontact does not correctly update/show birthday
Status: RESOLVED FIXED
Alias: None
Product: libkgapi
Classification: Frameworks and Libraries
Component: contacts (show other bugs)
Version: 0.4.0
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Daniel Vrátil
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-08-18 08:39 UTC by Matthias Nagel
Modified: 2012-08-20 10:12 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 0.4.2


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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