[CalendarServer-dev] [Calendar and Contacts Server] #419: vobject patch inconsistent

Calendar and Contacts Server trac at macosforge.org
Mon Feb 21 09:19:36 PST 2011


#419: vobject patch inconsistent
----------------------------------+-----------------------------------------
 Reporter:  mail@…                |       Owner:  wsanchez@…        
     Type:  Defect                |      Status:  new               
 Priority:  5: Not set            |   Milestone:                    
Component:  Calendar Server       |    Severity:  Other             
 Keywords:                        |       Radar:                    
----------------------------------+-----------------------------------------
 There is a patch to vobject at the moment.

 source://CalendarServer/trunk/lib-patches/vobject/vobject.icalendar.patch

 It claims to just add the : but at the same time it removes " too.

 By reading RFC2445 I am not sure what is supposed to happen.

 But Lightning escapes the " as \" and therefore the server gives:
 {{{
 2011-02-21 17:19:58+0100 [-] [caldav-0]  [PooledMemCacheProtocol,client]
 [twistedcaldav.memcachepool.MemCachePool#debug] Clients #free: 5, #busy:
 0, #pending: 0, #queued: 0
 2011-02-21 17:19:58+0100 [-] [caldav-0]  [-]
 [twistedcaldav.method.put_common#error] u'error: illegal escape sequence:
 \'\\"\''
 2011-02-21 17:19:58+0100 [-] [caldav-0]  [-] Traceback (most recent call
 last):
 2011-02-21 17:19:58+0100 [-] [caldav-0]  [-]   File "/usr/lib/python2.6
 /site-packages/twisted/internet/defer.py", line 441, in _runCallbacks
 2011-02-21 17:19:58+0100 [-] [caldav-0]  [-]     self.result =
 callback(self.result, *args, **kw)
 2011-02-21 17:19:58+0100 [-] [caldav-0]  [-]   File "/usr/lib/python2.6
 /site-packages/twisted/internet/defer.py", line 949, in gotResult
 2011-02-21 17:19:58+0100 [-] [caldav-0]  [-]     _inlineCallbacks(r, g,
 deferred)
 2011-02-21 17:19:58+0100 [-] [caldav-0]  [-]   File "/usr/lib/python2.6
 /site-packages/twisted/internet/defer.py", line 891, in _inlineCallbacks
 2011-02-21 17:19:58+0100 [-] [caldav-0]  [-]     result =
 result.throwExceptionIntoGenerator(g)
 2011-02-21 17:19:58+0100 [-] [caldav-0]  [-]   File "/usr/lib/python2.6
 /site-packages/twisted/python/failure.py", line 338, in
 throwExceptionIntoGenerator
 2011-02-21 17:19:58+0100 [-] [caldav-0]  [-]     return g.throw(self.type,
 self.value, self.tb)
 2011-02-21 17:19:58+0100 [-] [caldav-0]  [-] --- <exception caught here>
 ---
 2011-02-21 17:19:58+0100 [-] [caldav-0]  [-]   File "/usr/lib/python2.6
 /site-packages/twistedcaldav/method/put_common.py", line 937, in run
 2011-02-21 17:19:58+0100 [-] [caldav-0]  [-]     yield
 self.fullValidation()
 2011-02-21 17:19:58+0100 [-] [caldav-0]  [-]   File "/usr/lib/python2.6
 /site-packages/twisted/internet/defer.py", line 893, in _inlineCallbacks
 2011-02-21 17:19:58+0100 [-] [caldav-0]  [-]     result = g.send(result)
 2011-02-21 17:19:58+0100 [-] [caldav-0]  [-]   File "/usr/lib/python2.6
 /site-packages/twistedcaldav/method/put_common.py", line 272, in
 fullValidation
 2011-02-21 17:19:58+0100 [-] [caldav-0]  [-]     description="Can't parse
 calendar data"
 2011-02-21 17:19:58+0100 [-] [caldav-0]  [-] twext.web2.http.HTTPError:
 <ErrorResponse 403 {urn:ietf:params:xml:ns:caldav}valid-calendar-data>
 }}}

-- 
Ticket URL: <http://trac.calendarserver.org/ticket/419>
Calendar and Contacts Server </>
HTTP/WebDAV/CalDAV Server


More information about the calendarserver-dev mailing list