GNOME Bugzilla – Bug 489437
start date of recurrent events can be later than end date
Last modified: 2009-01-13 12:25:56 UTC
Steps to Reproduce: 1,create an appointment with such info: "start time:09/30/2004 03pm end time:09/30/2004 04pm". 2,Select "Recurrence" button 3,Check "This appointment recurs" 4,Let "Every"=(1 days),"until"= "08/01/2004" Actural Result: The appointment will be added to the calendar without warning. Expected Result: It is expected to have system warning to reminder user the end date is earlier than start date.
Created attachment 119367 [details] [review] proposed evo patch for evolution; The error is considered critical, user should fix his/her input (aka it's not just a warning). Feel free to suggest better error text. There is one thing I'm not sure about, the timezones. Any idea?
Can anyone review this patch?
Tested the patch and found a couple of issues. The validation error keeps on appearing multiple times even after unchecking the "The appointment recurs" check box. I dont know the exact difference between GTK_WIDGET_SENSITIVE() and GTK_WIDGET_IS_SENSITIVE(). But have the latter seems to fix the issue. It would be better to reset the recur. ending date to start date of the event while displaying the validation error. Please make these changes and commit the patch.
Slightly modified committed to trunk. Committed revision 37066. I changed both above mentioned things.