GNOME Bugzilla – Bug 223606
Crash when opening all day event with no DTEND
Last modified: 2009-10-13 04:33:52 UTC
Package: Evolution Priority: Major Version: 1.0.3.99 Synopsis: Crash when opening all day event with no DTEND Bugzilla-Product: Evolution Bugzilla-Component: libical Description: After importing an "all day" icalendar event with DTSTART but no DTEND, Calendar component will crash when attempting to open the event. Here's the DTSTART: DTSTART;VALUE=DATE:20020416 This should work fine according to RFC 2445: For cases where a "VEVENT" calendar component specifies a "DTSTART" property with a DATE data type but no "DTEND" property, the events non-inclusive end is the end of the calendar date specified by the "DTSTART" property. Unknown reporter: gallarda@yahoo.com, changed to bugbuddy-import@ximian.com.
*** This bug has been marked as a duplicate of 226285 ***
Created attachment 41713 [details] [review] Proposed patch
rodrigo: can you review the patch.
damon: Could you review the above patch? this patch work well in my computer.
Jack, could you please send a mail to evolution-patches@ximian.com with the patch attached and the bug # clearly stated? That way, all calendar maintainers will have a look at it.
Hi rodrigo: I have sent a email with my patch to evolution-patches@ximian.com. What 's the next step i can do for this bug. I hope you or other calendar hackers can review it.
Created attachment 41779 [details] a simple testcase, you can import it to evolution calendar, and double click the appointmant, the evolution-calendar will crash
Hi hpj: I gave a testcase of this bug(a all day event in 2002-11-25). Would you pleased spend some time to test it and review the patch for fix this bug? :)
I have applied this fix with a few tweaks (not a complete fix for the lack of a DTEND problem).
*** bug 238394 has been marked as a duplicate of this bug. ***
still valid in evolution-2.1.5.0.200502091805-0.snap.ximian.10.1. after double-clicking on the all day event, i get a popup: "Error (Evolution) Validation error: Event with no end date" after hitting "OK" the event editor opens, all day event is *not* enabled, and time is set to where the focus in the day view was. now hitting "OK" finally makes it a normal event with evolution's time "proposal". :-( if i import it and open it in the week view, both start and end *time* (not date) is set to current system time. but nothing crashes anymore here, at least. therefore minoring priority.
adding "patch" keyword
Moving this to libical component under Evolution-Data-Server where this belongs to.
Is the original patch still relevant?
The attatched iCalendar works with evolution 2.25.3 without any problem. I suggest closing this bug as obsolete.
I don't see any problem in 2.28.0