[GH-ISSUE #22] ical parsing error #477

Closed
opened 2026-03-01 17:39:11 +03:00 by kerem · 2 comments
Owner

Originally created by @aluxnimm on GitHub (Mar 17, 2015).
Original GitHub issue: https://github.com/aluxnimm/outlookcaldavsynchronizer/issues/22

Originally assigned to: @nertsch on GitHub.

TREFFPUNKT inside description leads to parse error, e.g:

ERROR 2015-03-17 14:57:02,286 [VSTA_Main] EntityRepositories.CalDavEventRepository . TryDeserializeICalEvent - Could not deserilaize ICalData:
BEGIN:VCALENDAR
VERSION:2.0
BEGIN:VTIMEZONE
TZID:Europe/Vienna
X-LIC-LOCATION:Europe/Vienna
BEGIN:DAYLIGHT
TZOFFSETFROM:+0100
TZOFFSETTO:+0200
TZNAME:CEST
DTSTART:19700329T020000
RRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=-1SU
END:DAYLIGHT
BEGIN:STANDARD
TZOFFSETFROM:+0200
TZOFFSETTO:+0100
TZNAME:CET
DTSTART:19701025T030000
RRULE:FREQ=YEARLY;BYMONTH=10;BYDAY=-1SU
END:STANDARD
END:VTIMEZONE
BEGIN:VEVENT
CREATED:20121010T073345Z
LAST-MODIFIED:20150317T135635Z
DTSTAMP:20121010T114906Z
UID:afdd96d0-40de-48bc-ba8a-4beb8d2ec9b6
SUMMARY:Demo-Festplattenabgabe
DTSTART;TZID=Europe/Vienna:20121017T180000
DTEND;TZID=Europe/Vienna:20121017T200000
LOCATION:Wien
DESCRIPTION:Deshalb ruft die Initiative für Netzfreiheit zu einer Demonstra
tion für die Reform des Urheberrechts und gegen die Festplattenabgabe auf.
Am 17. Oktober um 18:00 verläuft die Demonstration vom Sitz der AustroMec
hana zum Justizministerium.
TREFFPUNKT 17:50
TRANSP:OPAQUE
CLASS:PUBLIC
X-MOZ-GENERATION:1
ATTENDEE;PARTSTAT=NEEDS-ACTION;ROLE=REQ-PARTICIPANT;RSVP=TRUE;CN=Manfred Ki
ndl:mailto:kindlm@technikum-wien.at
ATTENDEE;PARTSTAT=NEEDS-ACTION;ROLE=REQ-PARTICIPANT;RSVP=TRUE;CN=Andreas Oe
sterreicher:mailto:oesi@technikum-wien.at
ATTENDEE;PARTSTAT=NEEDS-ACTION;ROLE=REQ-PARTICIPANT;RSVP=TRUE;CN=Richard El
gner:mailto:richard.elgner@gmx.net
ATTENDEE;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=TRUE:mailto:burkha
rt@technikum-wien.at
ORGANIZER;CN=Alexander Nimmervoll:mailto:nimm@technikum-wien.at
X-SOGO-SEND-APPOINTMENT-NOTIFICATIONS:NO
END:VEVENT
END:VCALENDAR
line 31:11: expecting "COLON", found ' '

Original comment by: aluxnimm

Original Ticket: outlookcaldavsynchronizer/11

Originally created by @aluxnimm on GitHub (Mar 17, 2015). Original GitHub issue: https://github.com/aluxnimm/outlookcaldavsynchronizer/issues/22 Originally assigned to: @nertsch on GitHub. TREFFPUNKT inside description leads to parse error, e.g: ERROR 2015-03-17 14:57:02,286 [VSTA_Main] EntityRepositories.CalDavEventRepository . TryDeserializeICalEvent - Could not deserilaize ICalData: BEGIN:VCALENDAR VERSION:2.0 BEGIN:VTIMEZONE TZID:Europe/Vienna X-LIC-LOCATION:Europe/Vienna BEGIN:DAYLIGHT TZOFFSETFROM:+0100 TZOFFSETTO:+0200 TZNAME:CEST DTSTART:19700329T020000 RRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=-1SU END:DAYLIGHT BEGIN:STANDARD TZOFFSETFROM:+0200 TZOFFSETTO:+0100 TZNAME:CET DTSTART:19701025T030000 RRULE:FREQ=YEARLY;BYMONTH=10;BYDAY=-1SU END:STANDARD END:VTIMEZONE BEGIN:VEVENT CREATED:20121010T073345Z LAST-MODIFIED:20150317T135635Z DTSTAMP:20121010T114906Z UID:afdd96d0-40de-48bc-ba8a-4beb8d2ec9b6 SUMMARY:Demo-Festplattenabgabe DTSTART;TZID=Europe/Vienna:20121017T180000 DTEND;TZID=Europe/Vienna:20121017T200000 LOCATION:Wien DESCRIPTION:Deshalb ruft die Initiative für Netzfreiheit zu einer Demonstra tion für die Reform des Urheberrechts und gegen die Festplattenabgabe auf. Am 17. Oktober um 18:00 verläuft die Demonstration vom Sitz der AustroMec hana zum Justizministerium. TREFFPUNKT 17:50 TRANSP:OPAQUE CLASS:PUBLIC X-MOZ-GENERATION:1 ATTENDEE;PARTSTAT=NEEDS-ACTION;ROLE=REQ-PARTICIPANT;RSVP=TRUE;CN=Manfred Ki ndl:mailto:kindlm@technikum-wien.at ATTENDEE;PARTSTAT=NEEDS-ACTION;ROLE=REQ-PARTICIPANT;RSVP=TRUE;CN=Andreas Oe sterreicher:mailto:oesi@technikum-wien.at ATTENDEE;PARTSTAT=NEEDS-ACTION;ROLE=REQ-PARTICIPANT;RSVP=TRUE;CN=Richard El gner:mailto:richard.elgner@gmx.net ATTENDEE;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=TRUE:mailto:burkha rt@technikum-wien.at ORGANIZER;CN=Alexander Nimmervoll:mailto:nimm@technikum-wien.at X-SOGO-SEND-APPOINTMENT-NOTIFICATIONS:NO END:VEVENT END:VCALENDAR line 31:11: expecting "COLON", found ' ' Original comment by: aluxnimm Original Ticket: [outlookcaldavsynchronizer/11](https://sourceforge.net/p/outlookcaldavsynchronizer/11)
kerem 2026-03-01 17:39:11 +03:00
Author
Owner

@aluxnimm commented on GitHub (Mar 24, 2015):

This cannot be parsed, because the event is malformed, because:

a) according to RFC 2445 the Property 'DESCRIPTION' is terminated by a CRLF, so 'TREFFPUNKT' is not part of the 'DESCRIPTION'-property value
b) 'TREFFPUNKT' is not a valid iCalendar-Property
c) 'TREFFPUNKT' is not followed by a colon, which would be required to meet the general property syntax

Currently OutlookCalDavSynchronizer cannot handle malformed iCal Entites.

Original comment by: nertsch

<!-- gh-comment-id:126312417 --> @aluxnimm commented on GitHub (Mar 24, 2015): This cannot be parsed, because the event is malformed, because: a) according to RFC 2445 the Property 'DESCRIPTION' is terminated by a CRLF, so 'TREFFPUNKT' is not part of the 'DESCRIPTION'-property value b) 'TREFFPUNKT' is not a valid iCalendar-Property c) 'TREFFPUNKT' is not followed by a colon, which would be required to meet the general property syntax Currently OutlookCalDavSynchronizer cannot handle malformed iCal Entites. Original comment by: nertsch
Author
Owner

@aluxnimm commented on GitHub (Mar 24, 2015):

  • status: open --> wont-fix
  • assigned_to: Gerhard Zehetbauer

Original comment by: nertsch

<!-- gh-comment-id:126312418 --> @aluxnimm commented on GitHub (Mar 24, 2015): - **status**: open --> wont-fix - **assigned_to**: Gerhard Zehetbauer Original comment by: nertsch
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/outlookcaldavsynchronizer#477
No description provided.