CardDav not saving new contacts from external access.

Questions, comments, and problems with Zimbra on Apple desktops & general CalDAV / CardDAV questions.
AbsoluteMonkey
Posts: 4
Joined: Sat Sep 13, 2014 2:13 am

CardDav not saving new contacts from external access.

Postby AbsoluteMonkey » Thu Nov 27, 2014 11:54 am

When I try and save a new contact from my BB or from Evolution it does not save the new contact.


I can save a new contact via the webmail zimbra portal.


I can however edit contacts just fine. If I edit a contact on my BB then it syncs across the other portals just fine. However new contacts I get nothing.


Here's a snippet from my logs.


2014-11-27 12:29:16,362 INFO  [btpool0-68://mydomain.com:10443/] [aname=admin@mydomain.com;ip=XX.XX.XX.XX;ua=RIM;] FileUploadServlet - saveUpload(): received Upload: { accountId=80e3e0c7-c83f-47b1-8f1d-e0462117c13d, time=Thu Nov 27 12:29:16 EST 2014, size=97, uploadId=a8a939be-cbfb-4e5d-8664-bb80595d507a:c1e5725f-76e8-4c9c-b99a-0db6e8980dba, name=null, path=null }

2014-11-27 12:29:16,365 INFO  [btpool0-68://mydomain.com:10443/] [name=admin;aname=admin@mydomain.com;ip=XX.XX.XX.XX;ua=RIM;] dav - DavServlet operation PROPFIND to null (depth: zero) finished in 3ms

2014-11-27 12:29:17,030 INFO  [btpool0-68://mydomain.com:10443/principals/users/admin@mydomain.com/] [aname=admin@mydomain.com;ip=XX.XX.XX.XX;ua=RIM;] FileUploadServlet - saveUpload(): received Upload: { accountId=80e3e0c7-c83f-47b1-8f1d-e0462117c13d, time=Thu Nov 27 12:29:17 EST 2014, size=138, uploadId=a8a939be-cbfb-4e5d-8664-bb80595d507a:93ceb4ce-428f-408f-b1de-ec101dd90bbb, name=null, path=null }

2014-11-27 12:29:17,033 INFO  [btpool0-68://mydomain.com:10443/principals/users/admin@mydomain.com/] [name=admin@mydomain.com;aname=admin@mydomain.com;ip=XX.XX.XX.XX;ua=RIM;] dav - DavServlet operation PROPFIND to /principals/users/admin@mydomain.com/ (depth: zero) finished in 3ms

2014-11-27 12:29:17,636 INFO  [btpool0-68://mydomain.com:10443/dav/admin@mydomain.com/] [aname=admin@mydomain.com;ip=XX.XX.XX.XX;ua=RIM;] FileUploadServlet - saveUpload(): received Upload: { accountId=80e3e0c7-c83f-47b1-8f1d-e0462117c13d, time=Thu Nov 27 12:29:17 EST 2014, size=163, uploadId=a8a939be-cbfb-4e5d-8664-bb80595d507a:33b54403-8809-4606-9db6-35e6ace13dd0, name=null, path=null }

2014-11-27 12:29:17,651 INFO  [btpool0-68://mydomain.com:10443/dav/admin@mydomain.com/] [aname=admin@mydomain.com;ip=XX.XX.XX.XX;ua=RIM;] dav - DavServlet operation PROPFIND to /home/admin@mydomain.com/ (depth: one) finished in 16ms

2014-11-27 12:29:18,353 INFO  [btpool0-68://mydomain.com:10443/dav/admin@mydomain.com/Contacts/efa81cee-765a-11e4-9323-a9ea1d10d463.vcf] [aname=admin@mydomain.com;ip=XX.XX.XX.XX;ua=RIM;] FileUploadServlet - saveUpload(): received Upload: { accountId=80e3e0c7-c83f-47b1-8f1d-e0462117c13d, time=Thu Nov 27 12:29:18 EST 2014, size=152, uploadId=a8a939be-cbfb-4e5d-8664-bb80595d507a:e4a4bea6-8a71-44ff-903b-0651f1298c35, name=null, path=null }

2014-11-27 12:29:18,379 INFO  [btpool0-68://mydomain.com:10443/dav/admin@mydomain.com/Contacts/efa81cee-765a-11e4-9323-a9ea1d10d463.vcf] [aname=admin@mydomain.com;ip=XX.XX.XX.XX;ua=RIM;] index - Deferred Indexing: submitted 1 items in 22ms (45.45/sec). (0 items failed to index). IndexDeferredCount now at 1 NumNotSubmitted= 0

2014-11-27 12:29:18,562 INFO  [btpool0-68://mydomain.com:10443/dav/admin@mydomain.com/Contacts/efa81cee-765a-11e4-9323-a9ea1d10d463.vcf] [aname=admin@mydomain.com;ip=XX.XX.XX.XX;ua=RIM;] dav - sending http error 409 because: item does not exists

2014-11-27 12:29:18,562 INFO  [btpool0-68://mydomain.com:10443/dav/admin@mydomain.com/Contacts/efa81cee-765a-11e4-9323-a9ea1d10d463.vcf] [aname=admin@mydomain.com;ip=XX.XX.XX.XX;ua=RIM;] dav - DavServlet operation PUT to /home/admin@mydomain.com/Contacts/efa81cee-765a-11e4-9323-a9ea1d10d463.vcf (depth: zero) finished in 210ms



Index issue?




User avatar
Gren Elliot
Zimbra Employee
Zimbra Employee
Posts: 183
Joined: Tue Jun 10, 2014 4:45 am

CardDav not saving new contacts from external access.

Postby Gren Elliot » Fri Nov 28, 2014 7:04 am

This is Bug https://bugzilla.zimbra.com/show_bug.cgi?id=84246 - Create Contact via CardDAV requires If-None-Match header.



Those clients are not specifying an If-None-Match header and Zimbra is requiring that header - although it is a SHOULD rather than a MUST in RFC6352 the specification for CardDAV.

Return to “CalDAV / CardDAV / iSync”

Who is online

Users browsing this forum: No registered users and 2 guests