[Kde-pim] Problems with ContactSearchJob

Klaas Freitag freitag at kde.org
Sun May 12 20:24:21 BST 2013


Hi,

since (I believe) I switched to KDE 4.10.x, I experience problems in my 
application Kraft [1] with the ContactSearchJob to query Contacts from 
address books.

A small test case of what I use in Kraft can be found in the attached 
example app, see kta.cpp. It's a contact search job with search criteria 
Uid (Note that to try it, you need to change the uid that is searched 
for to something that exists in your address books). The result list for 
me is always empty, even if the contact exists, ie. is visible in 
akonadiconsole. With previous versions it returned one entry with the 
contact.

What has changed recently? How can that be fixed? Do I have to do more 
initialitzations of Akonadi now? What if there are more than one address 
books configured? Are they all searched?

I would appreciate help with that since Kraft users also see this 
problem and run into problems with their daily invoicing :-/

Thanks,

Klaas

[1] http://volle-kraft-voraus.de/Main/Kraft
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kta.tar.bz2
Type: application/x-bzip
Size: 10672 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-pim/attachments/20130512/c991fab8/attachment.bin>
-------------- next part --------------
_______________________________________________
KDE PIM mailing list kde-pim at kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/


More information about the kde-pim mailing list