[Akonadi] [Bug 331321] New: Contacts aren't retrieved from CardDAV server / don't show up in the address book

Thomas Wunder thomas at thomas-wunder.de
Thu Feb 20 09:53:51 GMT 2014


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

            Bug ID: 331321
           Summary: Contacts aren't retrieved from CardDAV server / don't
                    show up in the address book
    Classification: Unclassified
           Product: Akonadi
           Version: 4.11
          Platform: Debian testing
               URL: (calendarserver) http://paste.debian.net/83046/  (dav
                    groupware resource) http://paste.debian.net/83047/
                    (KAddressbook::GlobalContactSession)
                    http://paste.debian.net/83049/
                OS: Linux
            Status: UNCONFIRMED
          Severity: grave
          Priority: NOR
         Component: DAV Resource
          Assignee: kdepim-bugs at kde.org
          Reporter: thomas at thomas-wunder.de

Hi, I've set up an Apple calendarserver recently (which works pretty nicely
with other clients) and I'd like to connect my kontact/kaddressbook (4.11.5
from debian jessie package) to it via CardDAV. Thus I added a DAV groupware
resource, filled in my credentials and the calendar/addressbook URL and when I
clicked 'Fetch' (in the resource configuration dialog)  my addressbook (default
folder) was listed as expected.

However in kaddressbook not a single address book entry is being listed under
that newly added address book (folder). I've countlessly tried to restart the
agent, forced it to sync, removed it and set it back up (via akonadiconsole)
with no luck. Having a look at the log of my calendarserver revealed that
kaddressbook obviously tries to do use some HTTP REPORT method in a situation
where the server probably can't deal with it. (Maybe that's the cause for the
problem)

Here are some log snippets that may help you understand what's going on here: 
 * (calendarserver) http://paste.debian.net/83046/ 
 * (dav groupware resource) http://paste.debian.net/83047/
 * (KAddressbook::GlobalContactSession) http://paste.debian.net/83049/ 

Note: Upward synchronization works. That is an entry which was created inside
that new address book default folder is being propagated to the server so that
other clients can see it.

I suspect this to not only be related to the calendar/addressbook service i use
but I'm not a hundred percent sure whether it's not the servers fault…

Reproducible: Always

Steps to Reproduce:
0. Find / set up a working (and recent) Apple calendarserver (from
http://trac.calendarserver.org/). I used my distris package (Debian Jessie)
calendarserver_3.2+dfsg-5_amd64.deb
1.1 Open kontact / contacts
1.2 click right and select 'Add Address Book...'
1.3 select "DAV groupware resource" and click Ok to continue
1.4 enter your credentials (e.g. admin/admin in case of a freshly installed
calendarserver), click Next to continue
1.5 select "Configure the resource manually" and click "Finish"
1.6 enter a display name and click on 'Add'
1.7 select protocol CardDAV and enter the remote URL e.g.
(http://my.calendar.server.example.org:8008/principals/users/admin) and click
on 'Fetch'
1.8 under "Discovered collections" an entry should appear with an URL like
this:
http://my.calendar.server.example.org:8008/addressbooks/__uids__/XXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX/addressbook/
1.9 click 'Ok' twice to finish both dialogs
2. unhide the new address book ([default] folder) by clicking the check box
next to it. You can also try to 'Update Address Book Folder' or restart the
according resource agent using akonadiconsole: You won't see any contacts.
(3.) Upward Sync works though, i.e. if you create a new address book entry
inside that newly added address book resource it will be pushed up to the
server.
Actual Results:  
Address book entries aren't display neither are they synced (e.g. if a locally
created entry gets modified / deleted by another client).

Expected Results:  
Content/Entries of the address book should be displayed

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


More information about the Kdepim-bugs mailing list