[Akonadi] [Bug 351652] New: Some contacts from CardDAV Ressource do not appear in kaddressbook

Ben code at bnavigator.de
Sun Aug 23 17:11:56 BST 2015


https://bugs.kde.org/show_bug.cgi?id=351652

            Bug ID: 351652
           Summary: Some contacts from CardDAV Ressource do not appear in
                    kaddressbook
           Product: Akonadi
           Version: 1.13.0
          Platform: Archlinux Packages
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: DAV Resource
          Assignee: kdepim-bugs at kde.org
          Reporter: code at bnavigator.de

I have configured an ownCloud 8.1 instance as DAV groupware ressource for
calendar and contacts. The address book is listet in the "Address Books" area
and SOME contacts appear in the listing of KAddressBook. But many other
contacts in the resource, which are visible in the ownCloud web interface and
other DAV clients such as my android phone or Thunderbird via SoGo Connector,
don't appear in KAddressBook or KMail's auto-complete for addressfields during
mail composition.

I also have checked "Akonadi Console". The contacts showing up are also listed
in the appropriate collection in the "Browser" Tab. Many more contact vcf file
items do show up in the "DB Browser" "PimItemTable"

I suspect it has to do with the filename the DAV server reports. When I call
the carddav url directly in dolphin through the webdavs:// io handler I see all
contacts of the adrressbook but with different file name formats:

The vcf contacts that are working look like:

Filename: 76ac28be-4f00-49c2-91dd-0e5d11716fe0.vcf

Content:
BEGIN:VCARD
VERSION:3.0
EMAIL:some at email.com
FN:Some Name
N:Name;Some;;;
PRODID:-//ownCloud//NONSGML Contacts 0.3.0.18//EN
REV:2015-08-23T14:37:49+00:00
TEL;TYPE=CELL:+1234567
UID:76ac28be-4f00-49c2-91dd-0e5d11716fe0
END:VCARD

Those that do not show up:
Filename: 20140721T192733.4cc4ba55ef%40url.of.my.server.vcf

Content:
BEGIN:VCARD
VERSION:3.0
FN:Some Name
N:Name;Some;;;
EMAIL;TYPE=INTERNET:foo at bar.com
TEL;TYPE=HOME:+1234553
UID:20140721T192733.4cc4ba55ef at url.of.my.server.de
REV:2015-08-23T14:33:49+00:00
PRODID:-//ownCloud//NONSGML Contacts 0.3//EN
END:VCARD


Note the escaped @ sign as %40 on the not working card. At least that's how
they show up in Dolphin.

Reproducible: Always

Steps to Reproduce:
1. Set up CardDAV ressource on ownCloud server
2. Add contact A directly in web interface
3. Add contact B from KAddressBook


Actual Results:  
B shows up in KAddressBook, A does not

Expected Results:  
Both contacts should be visible

-- 
You are receiving this mail because:
You are the assignee for the bug.



More information about the Kdepim-bugs mailing list