Closed Bug 457466 Opened 16 years ago Closed 16 years ago

Serializing component produces incorrect ics (blank lines)

Categories

(Calendar :: Internal Components, defect)

defect
Not set
normal

Tracking

(Not tracked)

VERIFIED DUPLICATE of bug 437418

People

(Reporter: browning, Unassigned)

Details

When serializing calendar items I'm seeing an extraneous blank line after any line begining with "END:". Happens with caldav and ics providers both, wiretrace confirms that we're getting \r\n\r\n where we want \r\n

Most ICS parsers are tolerant enough to ignore blank lines, but others (notably Oracle) are not. This currently prevents us from PUTting or POSTing anything to the Oracle test server. 

Example:

BEGIN:VCALENDAR
PRODID:-//Mozilla.org/NONSGML Mozilla Calendar V1.1//EN
VERSION:2.0
BEGIN:VTIMEZONE
TZID:America/Chicago
X-LIC-LOCATION:America/Chicago
BEGIN:DAYLIGHT
TZOFFSETFROM:-0600
TZOFFSETTO:-0500
TZNAME:CDT
DTSTART:19700308T020000
RRULE:FREQ=YEARLY;BYDAY=2SU;BYMONTH=3
END:DAYLIGHT

BEGIN:STANDARD
TZOFFSETFROM:-0500
TZOFFSETTO:-0600
TZNAME:CST
DTSTART:19701101T020000
RRULE:FREQ=YEARLY;BYDAY=1SU;BYMONTH=11
END:STANDARD

END:VTIMEZONE

BEGIN:VEVENT
CREATED:20080926T235812Z
LAST-MODIFIED:20080926T235821Z
DTSTAMP:20080926T235821Z
UID:7ed3bd08-4fb5-445f-903a-a3e5a1f6b69a
SUMMARY:aa
DTSTART;TZID=America/Chicago:20080909T190000
DTEND;TZID=America/Chicago:20080909T200000
TRANSP:OPAQUE
X-MOZ-GENERATION:1
END:VEVENT

END:VCALENDAR
I think that's the same issue as reported in Bug 437418.
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → DUPLICATE
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.