ical does not parse files with EXDATE

bwynants - September 3, 2009 - 18:25
Project:Date
Version:6.x-2.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:needs review
Description

ical can not parse the files because there is an extra blank line in the generated file.

Patch enclosed

(PS: existing repeat fields are not fixed since this is part of the content_field_date rrule colomn

AttachmentSize
filename.patch834 bytes

#1

bwynants - September 3, 2009 - 21:31

PS: the patch is to get 'exceptions' (EXDATE) to work correct

#2

bwynants - September 3, 2009 - 18:37

One more fix: EXDATE should not followed by a colon but by a semicolon

AttachmentSize
filename.patch 834 bytes

#3

bwynants - September 3, 2009 - 18:39

and the parsing part

AttachmentSize
filename.patch 1.16 KB

#4

bwynants - September 3, 2009 - 20:44

and finally multiple exceptions work in ical on mac

AttachmentSize
filename.patch 2.77 KB

#5

bwynants - September 3, 2009 - 21:32

copy paste error (worked because I have no user time zone)

AttachmentSize
filename.patch 2.78 KB

#6

bwynants - September 6, 2009 - 11:20

I've verified Google Calendar and these changes work just fine for google as well

(see http://drupal.org/node/389334#comment-2011452 as well)

#7

newyearsproject - November 2, 2009 - 22:05

After applying this patch, the parser no longer hangs, but my exceptions don't show up at all. Anyone else experience this?

#8

bwynants - November 3, 2009 - 10:49

it wil only work for 'new' exceptions

the old format in the database was wrong and is no longer recognized after the patch

#9

nowrap - November 24, 2009 - 15:02

Here the exceptions aren't recognized. Even after deleting the parsed iCal Events and refreshing them.
We are using Drupal 6.14 and the latest dev versions of Date and Calendar.

 
 

Drupal is a registered trademark of Dries Buytaert.