SabreDAV often returns an error in return to a calendar-query REPORT when a calendar contains an invalid event. We've seen that a lot in our client. In that case doing a simple PROPFIND usually helps to circumvent this.

Some SabreDAV deployments (most notably ownCloud) also often crash with a status 500 when doing a calendar-query. I think that may happen when the maximum script run time or the memory limits are exceeded. In that case doing a PROPFIND usually helps too.

Maybe one of these reasons explain what happened.

cheers

Martem

Am 04.12.2015 um 15:57 schrieb Ján Máté:
Hi Sebastian,

On 04 Dec 2015, at 10:54, Sebastian Pfohl <sebastian@pfohlnet.de> wrote:

Thats strange. I have now deleted all events from the calendar, setup one new event from "eM Client" (Desktop Application, reloaded infCloud and found this single Event. Now i added a new Event in InfCloud and both Events are visible. Maybe one Event added via InfCloud was corrupt.

nobody reported any bug related to incorrect vevent/vtodo/vcard definition, so even if it is possible (there is no software without bugs) it is really unlikely.

Is there a chance to get a better validation of Events, so that corrupt Events are not added to the CalDAV Server? Is there a way to hide corrupted events, but to display correct Events?

This is how CalDavZAP/CardDavMATE/InfCloud works ... if there is an invalid vevent/vtodo/vcard then we SKIP it and show a message in the console:

Error: <uid>: unable to parse vCalendar
Error: <uid>: unable to parse vEvent or vTodo
...


Cheers,


JM





From: sebastian@pfohlnet.de
To: davclients@inf-it.com
Subject: RE: [Inf-IT DAVcl] Calendars visible but no Events
Date: Fri, 4 Dec 2015 10:05:04 +0100

Hello Jan,

i have tried your suggestion, but i doesnt help. However, if i add the event in the gui, i could see the event for a short time as long, as the dialog to enter the event is in front and as overly to rest of the screen. If this layer disappears, the event disappears also.

I think, for the initial first time, i have called InfCloud, the events are visible, but i cant remember exactly. So i would try the setup on another webserver. I could be something with my WebServer, since this only a hacked lighttpd on a AVM FritzBox 7390 (added via Freetz Image). With this, i have very limited ressources. I will try it on a Apache Server with my own SabreDAV installation and also with another DAV Server, if i found one to test.


From: jan.mate@inf-it.com
Subject: Re: [Inf-IT DAVcl] Calendars visible but no Events
Date: Fri, 4 Dec 2015 09:40:49 +0100
To: davclients@inf-it.com

Hi,

from config.js:

// - checkContentType
//   This option enables a content-type checking for server response.
//   If enabled then only objects with proper content-type are inserted
//   into the interface.
//   If you cannot see data in the interface you may try to disable it (useful
//   if your server returns wrong value in "propstat/prop/getcontenttype").
//   If undefined then content-type checking is enabled.

Cheers,


JM



On 04 Dec 2015, at 08:14, Sebastian Pfohl <sebastian@pfohlnet.de> wrote:

Hello, after doing first tests, i have added some events to my calendar. This is SabreDAV if this matters. I could see all my calendars in the left pane, but no events. However, if i add a new event, i get the message that the event is successfully added. If i look on the Desktop via eM Client to the same calendar, i can see all my events. But i cant see them in InfCloud. Is there something i have missconfigured?


--

Marten Gajda
Schandauer Straße 34
01309 Dresden
Germany

tel: +49 177 4427167
email: marten@dmfs.org
twitter: twitter.com/dmfs_org

VAT Reg. No.: DE269072391