Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > ZCS Client Connectors > CalDAV / CardDAV / iSync

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 01-08-2010, 11:31 AM
Outstanding Member
 
Posts: 708
Default [SOLVED] Zimbra CalDAV servlet fails on "invalid XML character"

(Zimbra support case 00048097; local WHD 5134)

So I've got iCal 3 (OS X 10.5.8) dying on specific shared calendars with "http://1.1.400 bad request to cal.davqueueqbleacctoperation fail."

I found the 400 errors in jetty/logs/access_log.2010-01-08:

1.2.3.4 - - [08/Jan/2010:18:35:08 +0000] "REPORT /dav/test/Test%20User's%20Calendar/ HTTP/1.1" 400 0 "-" "DAVKit/3.0.6 (661); CalendarStore/3.0.8 (860); iCal/3.0.8 (1287); Mac OS X/10.5.8 (9L31a)"

And mailbox.log (strangely 10 seconds behind, after time zone correction):

Code:
2010-01-08 12:35:18,329 WARN ... dav - proxy request failed 
org.dom4j.DocumentException: Error on line 1346 of document : Character reference "&#0" is an invalid XML character. Nested exception: Character reference "&#0" is an invalid XML character.
at org.dom4j.io.SAXReader.read(SAXReader.java:350)
at org.dom4j.io.SAXReader.read(SAXReader.java:264)
at com.zimbra.cs.dav.service.DavServlet.isProxyRequest(DavServlet.java:583)
at com.zimbra.cs.dav.service.DavServlet.service(DavServlet.java:221)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
2010-01-08 12:35:18,374 INFO ... dav - sending http error 400 because
: requested resource is not a calendar collection
Line 1346 of what?

The literal string &#0 does not appear in the .ics export of the calendar. I do see another escape, lots of color="#000000" in embedded HTML, and some binary (hopefully unicode) gunk embedded in Outlook-originated messages.
Reply With Quote
  #2 (permalink)  
Old 01-12-2010, 01:41 PM
Zimbra Employee
 
Posts: 37
Default

Hi Rich,

To track this down, enable DEBUG logging for CalDAV on the grantee account attempting to access the shared calendar, then search for the string in the logging to figure out which appointment it's sitting in. You will be able to edit the appointment summary, save, then sync will work.

zmprov aal grantee@domain.com zimbra.dav debug

Then watch for the string in mailbox.log.
Reply With Quote
  #3 (permalink)  
Old 01-12-2010, 08:18 PM
Zimbra Employee
 
Posts: 37
Default

NULL character in shared appointment summary breaks CalDAV/iCal sync - Bug 43996
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.