[CalendarServer-dev] [CalendarServer] #287: Breaks with python-vobject 0.6.6

CalendarServer trac at macosforge.org
Thu Jul 24 11:03:14 PDT 2008

#287: Breaks with python-vobject 0.6.6
 Reporter:  agx at sigxcpu.org  |        Owner:  cdaboo at apple.com
     Type:  Defect           |       Status:  new             
 Priority:  2: Expected      |    Milestone:  2.x             
Component:  Calendar Server  |      Version:                  
 Severity:  Other            |   Resolution:                  
 Keywords:                   |  
Comment (by jeffrey at osafoundation.org):

 I'm sorry, I could've sworn I sent an email about this change to Cyrus,
 but looking back at my sent mail it looks like I didn't.

 vobject uses lists for pretty much everything, including parameters.  It
 was a bug (that was causing exceptions in certain use cases) that X-VOBJ-
 ORIGINAL-TZID was being stored as a plain value, not a single-valued-list.

 I was going to say: to fix this, use getattr(property,
 'x_vobj_original_tzid_param', None) instead of property.params().get()

 but I'm not sure what's going on with params being a function.  So
 alternately, do property.params().get('X-VOBJ-ORIGINAL-TZID', [None])[0]

Ticket URL: <http://trac.calendarserver.org/ticket/287#comment:3>
CalendarServer </>

More information about the calendarserver-dev mailing list