Connect. Communicate. Collaborate. Securely.

Home » Kerio User Forums » Kerio Connect » Problem deleting event with CALDAV
  •  
gambo

Messages: 8
Karma: 0
Send a private message to this user
I'm using CALDAV to synchronize Kerio Calendar with my web app.
I use a Java library called Caldav4j.

When i use caldav4j to create an event i get something like this:

BEGIN:VCALENDAR
VERSION:2.0
CALSCALE:GREGORIAN
METHOD:PUBLISH
X-CALENDARSERVER-ACCESS:PUBLIC
BEGIN:VEVENT
DTSTART:20091112T123000Z
DURATION:PT2H20M
SUMMARY:rec
UID:20091109T164722-a8d65ab0-f41a-47ec-8898-787b2caa8414-et
DESCRIPTION:mod
LOCATION:Bologna
LAST-MODIFIED:20091109T154722Z
DTSTAMP:20091109T154722Z
TRANSP:OPAQUE
X-MICROSOFT-CDO-BUSYSTATUS:BUSY
CLASS:PUBLIC
DTEND:20091112T145000Z
END:VEVENT
END:VCALENDAR

While, when i create an event directly via Kerio Calendar web interface, i get something like this:

BEGIN:VCALENDAR
PRODID:-//Kerio Technologies//Kerio MailServer//EN
METHOD:PUBLISH
VERSION:2.0
X-VERSION-KMS:6.2.0
X-CALENDARSERVER-ACCESS:PUBLIC
BEGIN:VTIMEZONE
TZID:Amsterdam\, Belgrade\, Berlin\, Brussels\, Budapest\, Madrid\,
Paris\, Prague\, Stockholm
BEGIN:STANDARD
DTSTART:19961027T030000
TZOFFSETTO:+0100
TZOFFSETFROM:+0200
RRULE:FREQ=YEARLY;BYMONTH=10;BYDAY=-1SU
END:STANDARD
BEGIN:DAYLIGHT
DTSTART:19810329T020000
TZOFFSETTO:+0200
TZOFFSETFROM:+0100
RRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=-1SU
END:DAYLIGHT
END:VTIMEZONE
BEGIN:VEVENT
DTSTAMP:20091109T154226Z
UID:7C5CE486-339B-4394-BA76-9EE6018C8156
SEQUENCE:0
SUMMARY:evento2
DTSTART;TZID="Amsterdam, Belgrade, Berlin, Brussels, Budapest, Madrid,
Paris, Prague, Stockholm":20091112T170000
DTEND;TZID="Amsterdam, Belgrade, Berlin, Brussels, Budapest, Madrid,
Paris, Prague, Stockholm":20091112T173000
CLASS:PUBLIC
PRIORITY:5
TRANSP:OPAQUE
X-MICROSOFT-CDO-BUSYSTATUS:BUSY
X-LABEL:0
BEGIN:VALARM
ACTION:DISPLAY
TRIGGER;RELATED=START:-PT15M
END:VALARM
END:VEVENT
END:VCALENDAR

The problem is that, when i want to delete the event i call a method that delete this path:

Calendar root path: /calendars/softlab.it/emme/Calendar/uid.ics

where emme is my user, softlab.it my company and uid is uid of event, for example "63B63085-B587-4CAB-BC72-029305014EA1"

This method works with event created by caldav4j, but it doesn't work with event created by Kerio calendar web interface.

What is the correct path of an event created by web interface? How can i check it?
How is possible that one event is deleted and not the other if both of them are visible in the same calendar?
  •  
Pavel Dobry (Kerio)

Messages: 5245
Karma: 251
Send a private message to this user
Use the REPORT and PROPFIND CalDAV methods to get the correct URIs for CalDAV events in the calendar. Note the event created in non-CalDAV clients has different identifier in URI.
  •  
gambo

Messages: 8
Karma: 0
Send a private message to this user
Sorry. I already solved.
In Kerio Mail Server , when i create an event with caldav4j , its path
is something like
/calendars/softlab.it/emme/Calendar/A6FB723A-C71B-4BE6-
B338-63879D3E1E54.ics

where "A6FB723A-C71B-4BE6-B338-63879D3E1E54" is uid

while, when i create an event from web interface its path is:

/calendars/softlab.it/emme/Calendar/07C1BBB7-F7EA-4436-
B80B-14F3B57BC8B9-00000046.eml

where "07C1BBB7-F7EA-4436-B80B-14F3B57BC8B9-00000046" is not uid, but
it is an identifier given by Kerio

In Kerio file structure all is .eml, it is a bit strange.
I hope that this will not be a problem when Kerio synchronize the
iPhone. I would like to see both .ics and .eml files
Previous Topic: 64Bit Mail Server Windows/Linux
Next Topic: Cannot connect to remote host
Goto Forum:
  


Disclaimer:
Kerio discussion forums are intended for open communication between forum members and may contain information and material posted by members which may be useful in learning about Kerio products. The discussion forums are not intended to provide technical support for any specific product. Any information implied or expressed in the discussion forums is that of the posting member. Kerio is in no way responsible for the information posted in the forums, or its accuracy. Kerio employees may participate in the discussions, but their postings do not represent an offical position of the company on any issues raised or discussed. Kerio reserves the right to monitor and maintain the forums to promote free and accurate exchange of information.

Current Time: Sun Nov 19 02:10:31 CET 2017

Total time taken to generate the page: 0.00529 seconds
.:: Contact :: Home ::.
Powered by: FUDforum 3.0.4.