[CalendarServer-dev] [Calendar and Contacts Server] #417: [PATCH] RFC5545 section 3.2.3 CUTYPE may not be set

Calendar and Contacts Server trac at macosforge.org
Thu Jun 30 23:03:57 PDT 2011


#417: [PATCH] RFC5545 section 3.2.3 CUTYPE may not be set
----------------------------------+-----------------------------------------
 Reporter:  mail@…                |       Owner:  wsanchez@…        
     Type:  Defect                |      Status:  new               
 Priority:  5: Not set            |   Milestone:                    
Component:  Calendar Server       |    Severity:  Other             
 Keywords:                        |       Radar:                    
----------------------------------+-----------------------------------------

Comment(by mail@…):

 Needs to be udpated for current trunk:

 {{{
 See http://trac.calendarserver.org/ticket/417
 and http://tools.ietf.org/html/rfc5545#section-3.2.3

 Index: twistedcaldav/mail.py
 ===================================================================
 --- twistedcaldav/mail.py        (Revision 7700)
 +++ twistedcaldav/mail.py        (Arbeitskopie)
 @@ -834,7 +834,7 @@
          attendees = []
          for attendeeProp in calendar.getAllAttendeeProperties():
              cutype = attendeeProp.parameterValue('CUTYPE', None)
 -            if cutype == "INDIVIDUAL":
 +            if cutype == "INDIVIDUAL" or cutype is None :
                  cn = attendeeProp.parameterValue("CN",
 None).decode("utf-8")
                  cuaddr = normalizeCUAddr(attendeeProp.value())
                  if cuaddr.startswith("mailto:"):
 }}}

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


More information about the calendarserver-dev mailing list