After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 223606 - Crash when opening all day event with no DTEND
Crash when opening all day event with no DTEND
Status: RESOLVED OBSOLETE
Product: evolution-data-server
Classification: Platform
Component: libical
1.6.x (obsolete)
Other All
: High normal
: ---
Assigned To: evolution-calendar-maintainers
Evolution QA team
: 238394 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2002-04-18 06:30 UTC by Unknown Bug Buddy Submitter
Modified: 2009-10-13 04:33 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Proposed patch (2.17 KB, patch)
2002-11-11 11:06 UTC, jack jia
none Details | Review
a simple testcase, you can import it to evolution calendar, and double click the appointmant, the evolution-calendar will crash (335 bytes, text/plain)
2002-11-26 06:19 UTC, jack jia
  Details

Description Unknown Bug Buddy Submitter 2002-04-18 06:31:20 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.

Comment 1 Gerardo Marin 2002-11-08 20:33:23 UTC

*** This bug has been marked as a duplicate of 226285 ***
Comment 2 jack jia 2002-11-11 11:06:09 UTC
Created attachment 41713 [details] [review]
Proposed patch
Comment 3 jack jia 2002-11-11 11:08:45 UTC
 rodrigo: can you review the patch.
Comment 4 jack jia 2002-11-12 01:21:02 UTC
damon: Could you review the above patch? this patch work well in my
computer.
Comment 5 Rodrigo Moya 2002-11-12 12:34:08 UTC
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.
Comment 6 jack jia 2002-11-15 06:21:29 UTC
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.
Comment 7 jack jia 2002-11-26 06:19:43 UTC
Created attachment 41779 [details]
a simple testcase, you can import it to evolution calendar, and double click the appointmant, the evolution-calendar will crash
Comment 8 jack jia 2002-12-02 09:06:56 UTC
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?  :)
Comment 9 JP Rosevear 2003-02-04 17:03:36 UTC
I have applied this fix with a few tweaks (not a complete fix for the
lack of a DTEND problem).
Comment 10 jack jia 2003-05-26 07:43:32 UTC
*** bug 238394 has been marked as a duplicate of this bug. ***
Comment 11 André Klapper 2005-03-01 01:14:34 UTC
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.
Comment 12 André Klapper 2005-03-05 14:49:18 UTC
adding "patch" keyword
Comment 13 Harish Krishnaswamy 2006-08-08 03:47:54 UTC
Moving this to libical component under Evolution-Data-Server where this belongs to.
Comment 14 Kjartan Maraas 2007-01-25 14:22:56 UTC
Is the original patch still relevant?
Comment 15 Petr Tomasek 2009-01-02 21:25:14 UTC
The attatched iCalendar works with evolution 2.25.3 without any problem. I suggest closing this bug as obsolete.
Comment 16 Akhil Laddha 2009-10-13 04:33:52 UTC
I don't see any problem in 2.28.0