[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Inf-IT DAVcl] Sabre_DAV_Exception_ReportNotSupported


Hi Jan,

thx for reply.

The installation is only network intern, i can't give u an demo.

But there is some interesting. I found the var globalSubscribedCalendars at the bottom of the config.js After configure this, and test it, Jquery put an ?_=timestamp (cache querystring) at the end of the calendar file (ics file), SarbeDAV says 404 After i set in webdav_protocol.js ( line 1562 ) the cache var to "true", your CalDavZAP shows me *all events.*


At the normal config with globalNetworkCheckSettings Firebug shows me this x,l PROPFIND: http://192.168.2.54/owncloud/apps/calendar/caldav.php/calendars/user/defaultcalendar/ 207 Multi-Status
<d:multistatusxmlns:d="DAV:"xmlns:s="http://sabredav.org/ns"xmlns:cal="urn:ietf:params:xml:ns:caldav"xmlns:cs="http://calendarserver.org/ns/";>
<d:response>
<d:href>/owncloud/apps/calendar/caldav.php/calendars/user/defaultcalendar/</d:href>
<d:propstat>
<d:prop>
<d:getetag></d:getetag>
<d:getcontenttype></d:getcontenttype>
</d:prop>
<d:status>HTTP/1.1 404 Not Found</d:status>
</d:propstat>
</d:response>
<d:response>
<d:href>/owncloud/apps/calendar/caldav.php/calendars/user/defaultcalendar/677ba0ccdc340bda0a10abf8bfafbe0ca846fdc93568863855e8f046880400f0.ics</d:href>
<d:propstat>
<d:prop>
<d:getetag>"a46997943e32b4a998e873fdf3b77cdf"</d:getetag>
<d:getcontenttype>text/calendar; charset=utf-8</d:getcontenttype>
</d:prop>
<d:status>HTTP/1.1 200 OK</d:status>
</d:propstat>
</d:response>
<d:response>
<d:href>/owncloud/apps/calendar/caldav.php/calendars/user/defaultcalendar/e4e68dd3283be55c9bcf9fb03e150e8961481954e1d061d966b870e7ca50553b.ics</d:href>
<d:propstat>
<d:prop>
<d:getetag>"0b369a0a58c8b374c84a1a31f12f327c"</d:getetag>
<d:getcontenttype>text/calendar; charset=utf-8</d:getcontenttype>
</d:prop>
<d:status>HTTP/1.1 200 OK</d:status>
</d:propstat>
</d:response>
<d:response>
<d:href>/owncloud/apps/calendar/caldav.php/calendars/user/defaultcalendar/23cb6614dda463307ac159f0f2ec6560f05226d11b276b7fbed3b0dbee655b11.ics</d:href>
<d:propstat>
<d:prop>
<d:getetag>"adc61af82bb4bcf1724783b5edd6a7bd"</d:getetag>
<d:getcontenttype>text/calendar; charset=utf-8</d:getcontenttype>
</d:prop>
<d:status>HTTP/1.1 200 OK</d:status>
</d:propstat>
</d:response>
<d:response>
<d:href>/owncloud/apps/calendar/caldav.php/calendars/user/defaultcalendar/ed768c6275c8f850288069e1ca531fbe8e8562acf9d5d225540b5a06c4f85e7b.ics</d:href>
<d:propstat>
<d:prop>
<d:getetag>"8f32e46c28051f1162ea54ac80539999"</d:getetag>
<d:getcontenttype>text/calendar; charset=utf-8</d:getcontenttype>
</d:prop>
<d:status>HTTP/1.1 200 OK</d:status>
</d:propstat>
</d:response>
<d:response>
<d:href>/owncloud/apps/calendar/caldav.php/calendars/user/defaultcalendar/owncloud-bb0048829d80b30a931c09c732972776.ics</d:href>
<d:propstat>
<d:prop>
<d:getetag>"d5f49bf955bfc03ac97efcb16220a4b5"</d:getetag>
<d:getcontenttype>text/calendar; charset=utf-8</d:getcontenttype>
</d:prop>
<d:status>HTTP/1.1 200 OK</d:status>
</d:propstat>
</d:response>
</d:multistatus>

it looks as ZAP get data from the server but it does nothing with it.
My English is worse as my XML ;) but my PHP and JS is better as my English.

greetings Flo





Am 10.04.2013 22:32, schrieb Ján Máté:
Hi Florian,

we never tested CalDavZAP with Owncloud, so it is not surprise that it not works.

The error message below is a normal behaviour if the server not supports REPORT request with sync-token (real CalDAV sync). After this error we switch back to simple WebDAV sync (which should work, but maybe we have a small bug somewhere).

If you or anybody else can send me some testing credentials to demo/any other SabreDAV server we should check it ...


JM


On Apr 10, 2013, at 3:21 PM, Florian Rauscher <f.rauscher@xxxxxxxxxx <mailto:f.rauscher@xxxxxxxxxx>> wrote:

Hi to all,

I use ownCloud 5 with CalDavZAP last stable release.

CalDavZAP can ...
... connect to ownCloud
... read the calendars from ownCloud
... write events to ownCloud (i can see it on ownClounds own calendar)

but CalDavZAP can't read events.

ownCloud use SabreDAV 1.7.5, i get in Firebug this error

REPORT: http://user:pass@192.168.1.1/owncloud/remote.php/caldav/calendars/user/defaultcalendar/ 403 Forbidden
Answer body:
<d:errorxmlns:d="DAV:"xmlns:s="http://sabredav.org/ns";>
<s:exception>*Sabre_DAV_Exception_ReportNotSupported*</s:exception>
<s:message></s:message>
<s:sabredav-version>1.7.5</s:sabredav-version>
<d:supported-report></d:supported-report>
</d:error>

is there any way to get CalDavZAP to run with ownCloud.


/owncloud/remote.php/caldav/principals/user/
gives return:
calendar-proxy-read     Proxy-Read, Principal
calendar-proxy-write     Proxy-Read, Principal






Follow-Ups:
Re: [Inf-IT DAVcl] Sabre_DAV_Exception_ReportNotSupportedJán Máté <jan.mate@xxxxxxxxxx>
References:
[Inf-IT DAVcl] Sabre_DAV_Exception_ReportNotSupportedFlorian Rauscher <f.rauscher@xxxxxxxxxx>
Re: [Inf-IT DAVcl] Sabre_DAV_Exception_ReportNotSupportedJán Máté <jan.mate@xxxxxxxxxx>