[CalDAV] error synchronizing events that contain timezone information

Hi,
when trying to sync a calendar event with UTC timezone set using CalDAV i get the following error:

The .ics file (with UTC timezone) downloaded from the CalDAV server contains the following:

BEGIN:VCALENDAR
VERSION:2.0
X-WR-CALNAME:Calendar of Joerg Pulz
PRODID:-//The Horde Project//Horde iCalendar Library//EN
BEGIN:VEVENT
DTSTART;TZID=UTC:20140531T090000
DTEND;TZID=UTC:20140531T100001
DTSTAMP:20140528T152513Z
UID:20140528172114.3MiXDkJgDmb92uAs9pSkvw9@xxxxx.xxxxx.xx
CREATED:20140528T152114Z
LAST-MODIFIED:20140528T152114Z
SUMMARY:Test UTC event
CLASS:PUBLIC
STATUS:CONFIRMED
TRANSP:OPAQUE
END:VEVENT
BEGIN:VTIMEZONE
TZID:UTC
END:VTIMEZONE
END:VCALENDAR

As soon as i reset the timezone (no timezone information) for the event it get’s synced correctly.

But…

To make this even worse, i changed the event timezone to “Europe/Berlin”.
Now i get no sync error, but the event isn’t showing up in eM Client 6.0.20433.0 at all.

Here is the .ics file (with Europe/Berlin timezone) downloaded from the CalDAV server:

BEGIN:VCALENDAR
VERSION:2.0
X-WR-CALNAME:Calendar of Joerg Pulz
PRODID:-//The Horde Project//Horde iCalendar Library//EN
BEGIN:VEVENT
DTSTART;TZID=Europe/Berlin:20140531T090000
DTEND;TZID=Europe/Berlin:20140531T100001
DTSTAMP:20140528T153814Z
UID:20140528172114.3MiXDkJgDmb92uAs9pSkvw9@xxxxx.xxxxx.xx
CREATED:20140528T152114Z
LAST-MODIFIED:20140528T153752Z
SUMMARY:Test UTC event
CLASS:PUBLIC
STATUS:CONFIRMED
TRANSP:OPAQUE
END:VEVENT
BEGIN:VTIMEZONE
TZID:Europe/Berlin
BEGIN:DAYLIGHT
TZOFFSETFROM:+0100
TZOFFSETTO:+0200
DTSTART:19160430T230000
TZNAME:CEST
END:DAYLIGHT
BEGIN:STANDARD
TZOFFSETFROM:+0200
TZOFFSETTO:+0100
DTSTART:19161001T010000
TZNAME:CE-T
END:STANDARD
BEGIN:DAYLIGHT
TZOFFSETFROM:+0100
TZOFFSETTO:+0200
DTSTART:19170416T020000
RRULE:FREQ=YEARLY;BYMONTH=4;BYMONTHDAY=15,16,17,18,19,20,21;BYDAY=1MO;UNTIL
 =19180421T00000Z
TZNAME:CEST
END:DAYLIGHT
BEGIN:STANDARD
TZOFFSETFROM:+0200
TZOFFSETTO:+0100
DTSTART:19170917T020000
RRULE:FREQ=YEARLY;BYMONTH=9;BYMONTHDAY=15,16,17,18,19,20,21;BYDAY=1MO;UNTIL
 =19180915T00000Z
TZNAME:CE-T
END:STANDARD
BEGIN:DAYLIGHT
TZOFFSETFROM:+0100
TZOFFSETTO:+0200
DTSTART:19400401T020000
TZNAME:CEST
END:DAYLIGHT
BEGIN:STANDARD
TZOFFSETFROM:+0200
TZOFFSETTO:+0100
DTSTART:19421102T020000
TZNAME:CE-T
END:STANDARD
BEGIN:DAYLIGHT
TZOFFSETFROM:+0100
TZOFFSETTO:+0200
DTSTART:19430329T020000
TZNAME:CEST
END:DAYLIGHT
BEGIN:STANDARD
TZOFFSETFROM:+0200
TZOFFSETTO:+0100
DTSTART:19431004T020000
TZNAME:CE-T
END:STANDARD
BEGIN:DAYLIGHT
TZOFFSETFROM:+0100
TZOFFSETTO:+0200
DTSTART:19440403T020000
RRULE:FREQ=YEARLY;BYMONTH=4;BYDAY=1MO;UNTIL=19450401T01000Z
TZNAME:CEST
END:DAYLIGHT
BEGIN:STANDARD
TZOFFSETFROM:+0200
TZOFFSETTO:+0100
DTSTART:19441002T020000
TZNAME:CE-T
END:STANDARD
BEGIN:STANDARD
TZOFFSETFROM:+0100
TZOFFSETTO:+0100
DTSTART:19450916T020000
TZNAME:CE-T
END:STANDARD
BEGIN:DAYLIGHT
TZOFFSETFROM:+0100
TZOFFSETTO:+0300
DTSTART:19450524T020000
TZNAME:CEMT
END:DAYLIGHT
BEGIN:DAYLIGHT
TZOFFSETFROM:+0300
TZOFFSETTO:+0200
DTSTART:19450924T030000
TZNAME:CEST
END:DAYLIGHT
BEGIN:STANDARD
TZOFFSETFROM:+0200
TZOFFSETTO:+0100
DTSTART:19451118T020000
TZNAME:CE-T
END:STANDARD
BEGIN:DAYLIGHT
TZOFFSETFROM:+0100
TZOFFSETTO:+0200
DTSTART:19460414T020000
TZNAME:CEST
END:DAYLIGHT
BEGIN:STANDARD
TZOFFSETFROM:+0200
TZOFFSETTO:+0100
DTSTART:19461007T020000
TZNAME:CE-T
END:STANDARD
BEGIN:STANDARD
TZOFFSETFROM:+0100
TZOFFSETTO:+0100
DTSTART:19471005T020000
RRULE:FREQ=YEARLY;BYMONTH=10;BYDAY=1SU;UNTIL=19491002T01000Z
TZNAME:CE-T
END:STANDARD
BEGIN:DAYLIGHT
TZOFFSETFROM:+0100
TZOFFSETTO:+0200
DTSTART:19470406T030000
TZNAME:CEST
END:DAYLIGHT
BEGIN:DAYLIGHT
TZOFFSETFROM:+0200
TZOFFSETTO:+0300
DTSTART:19470511T020000
TZNAME:CEMT
END:DAYLIGHT
BEGIN:DAYLIGHT
TZOFFSETFROM:+0300
TZOFFSETTO:+0200
DTSTART:19470629T030000
TZNAME:CEST
END:DAYLIGHT
BEGIN:DAYLIGHT
TZOFFSETFROM:+0200
TZOFFSETTO:+0200
DTSTART:19480418T020000
TZNAME:CEST
END:DAYLIGHT
BEGIN:DAYLIGHT
TZOFFSETFROM:+0200
TZOFFSETTO:+0200
DTSTART:19490410T020000
TZNAME:CEST
END:DAYLIGHT
BEGIN:DAYLIGHT
TZOFFSETFROM:+0100
TZOFFSETTO:+0200
DTSTART:19800406T010000
RRULE:FREQ=YEARLY;BYMONTH=4;BYDAY=1SU;UNTIL=19800406T00000Z
TZNAME:CEST
END:DAYLIGHT
BEGIN:STANDARD
TZOFFSETFROM:+0200
TZOFFSETTO:+0100
DTSTART:19800928T010000
RRULE:FREQ=YEARLY;BYDAY=-1SU;BYMONTH=9;UNTIL=19950923T23000Z
TZNAME:CE-T
END:STANDARD
BEGIN:DAYLIGHT
TZOFFSETFROM:+0100
TZOFFSETTO:+0200
DTSTART:19810329T010000
RRULE:FREQ=YEARLY;BYDAY=-1SU;BYMONTH=3
TZNAME:CEST
END:DAYLIGHT
BEGIN:STANDARD
TZOFFSETFROM:+0200
TZOFFSETTO:+0100
DTSTART:19961027T010000
RRULE:FREQ=YEARLY;BYDAY=-1SU;BYMONTH=10
TZNAME:CE-T
END:STANDARD
END:VTIMEZONE
END:VCALENDAR

Any help or fix for this is much appreciated.
Kind regards
Joerg

Hi Joerg, thank you for reporting this issue, I’ve consulted the issue with the developers and I’m currently waiting for a response, I’ll let you know once I have more information.

Thank you,
Paul.

Hi again,
are there any news on this topic?
I get the Operations window with the error message on every CalDAV sync attempt.
This is really annoying and the unsynchronized /missing events in the calender make it nearly useless.
Hope that work is going on to fix this error.
Kind regards
Joerg

Hi again Joerg,
the developers are currently working on a workaround for this issue, that should be implemented in future updates. I understand this might get a bit too annoyingm hope you can manage to use the current settings until the workaround is released.

Thank you for understanding,
Paul.

I have exactly the same error. Write how solve it. I would like to buy your product, but without a calendar it is not needed. I’m waiting for you! :slight_smile:

Hi Aleks, what version of eM Client are you currently using? Can you make a screenshot of any errors you might be seeing?

Thank you,
Paul.

Hi, Paul.

I use 6.0.20.498.0 (free version).  It’s on my mail

I try install a clean system without data and tried again. The same result.

I noticed that the mistake arises if to open the letter where the isc file (an event from a calendar) is attached

Hi again Aleks, do you think you could copy the content of the report window, copy the text and post it here. I need to translate the error that occurred in your application.

Thank you,
Paul.

Hi, Paul! :slight_smile:

I caused again this mistake. The text turned out too big therefore I spread in the form of the text file.

http://aleksdem.com/err.txt

CalDAV errors are still not fixed (version 6.0.20617.0)

  1. recurring appointments are not synced/shown
  2. appointments with timezone information are not synced/shown
  3. appointments with UTC time zone information produce  error (as shown in my first post)
  4. Dismissing a reminder for an appointment somehow changes timezone for this appointment to UTC and cause an application error with ability to send an immediate report (i already did this every time it happened). Afterwards the application restarts and recovers databases from crash.

That’s quite a lot of CalDAV related errors.

Is there anyone working on fixing these issues?

Kind regards
Joerg

Hi Joerg, yes we are working on resolving these issues, hopefully the issue will be fixed in next release of eM client.

Thank you for your patience, regards,
Paul.