Unclosed component VEVENT in Calendars
Closed this issue · 1 comments
rprouse commented
Unhandled exception: System.Runtime.Serialization.SerializationException: Unclosed component VEVENT
at Ical.Net.Serialization.SimpleDeserializer.Deserialize(TextReader reader)+MoveNext()
at System.Linq.Enumerable.OfTypeIterator[TResult](IEnumerable source)+MoveNext()
at System.Collections.Generic.List`1.InsertRange(Int32 index, IEnumerable`1 collection)
at System.Collections.Generic.List`1.AddRange(IEnumerable`1 collection)
at Ical.Net.CalendarCollection.Load(TextReader tr)
at Ical.Net.Calendar.Load(String iCalendarString)
at Guppi.Infrastructure.Services.Calendar.ICalCalendarService.GetEventsFromCalendar(String icalUrl, IDateTime start, IDateTime end) in /home/runner/work/guppi/guppi/Guppi.Infrastructure/Services/Calendar/ICalCalendarService.cs:line 50
On initial debugging it looks like the calendar events are malformed. Possibly something upstream in my code that fetches the events is truncating or overwriting?
rprouse commented
I haven't seen this since.