GNOME Bugzilla – Bug 615497
Pilot calendar, todo fail to sync because timezone is set too early
Last modified: 2013-09-13 12:32:54 UTC
Created attachment 158464 [details] [review] Fix that seems to work The calendar and todo applications on my pilot do not sync with Evolution (memo is unaffected). The symptom is the same as in bug 611860. I ran gpilotd under a debugger and saw that the timezone code is at fault again. Ugggh! The respective "start_calendar_server" functions for the calendar and todo conduits try to set the timezone of the calendar before opening it. That may have worked in the past, but in Evolution 2.30, it hits the following check in e_cal_set_default_timezone: if (priv->load_state != E_CAL_LOAD_LOADED) { E_CALENDAR_CHECK_STATUS (E_CALENDAR_STATUS_URI_NOT_LOADED, error); } In the start_calendar_server functions, I moved the e_cal_set_default_timezone call after e_cal_open and now syncing works again. My patch is attached, but there is probably more cleanup that could or should be done.
Thanks for a bug report and the patch, your observation is correct, but this has been fixed very recently, as part of bug #611646, where the above 'if' statement was removed. I'm marking this one as a duplicate of it. *** This bug has been marked as a duplicate of bug 611646 ***