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

Re: [Inf-IT DAVcl] Strange behaviour


Hello Jan

I have attached two events.
2674... was created by SOGo itself, b48d... was created by caldavzap. Both are not shown after a reload of caldavzap although included in the REPORT:
<D:multistatus xmlns:D="DAV:">
<D:sync-response>
<D:href>/SOGo/dav/mm-pa/Calendar/personal/2674-514CBB00-25-1D872D20.ics</D:href>
<D:status>HTTP/1.1 201 Created</D:status>
<D:propstat>
<D:prop>
<D:getcontenttype>text/calendar</D:getcontenttype>
<D:getetag>"gcs00000001"</D:getetag>
</D:prop>
<D:status>HTTP/1.1 200 OK</D:status>
</D:propstat>
</D:sync-response>
<D:sync-response>
<D:href>/SOGo/dav/mm-pa/Calendar/personal/b48d6fae178744d8e83fc0af821c016b07943f5892167adffef7b74bdc94b473.ics</D:href>
<D:status>HTTP/1.1 201 Created</D:status>
<D:propstat>
<D:prop>
<D:getcontenttype>text/calendar</D:getcontenttype>
<D:getetag>"gcs00000000"</D:getetag>
</D:prop>
<D:status>HTTP/1.1 200 OK</D:status>
</D:propstat>
</D:sync-response>
<D:sync-token>1363985382</D:sync-token>
</D:multistatus>


SV


Am 22.03.2013 21:47, schrieb Ján Máté:
Hi Simon,

download that file using your browser and send us it (as file and not as string). Maybe there are some blank characters or other errors we need to investigate.


JM


On Mar 22, 2013, at 9:18 PM, Simon <caldavzap@xxxxxxxxxx> wrote:

Hello Andrej,

OK, learned something new. :)
But the main problem persists:
I can save a new entry, see it in my backend server. After a reload and relogin the backend server delivers a link (in the REPORT) to the .ics-file and this file is readable.
But what I don't see is a GET for the /SOGo/dav/user/Calendar/personal/6d026dd6044076dfde4ed7ecbedeec887b0df320de9ccd95f9f7469aae99cd17.ics

Is there an option to debug caldavzap other that using firebug?

Yours,
Simon


Am 22.03.2013 17:56, schrieb Andrej Lezo:
Hello Simon
It is normal behaviour because we are using PROPATCH property for saving user settings. The request is launched with every resource synchronization. So we need support for additional methods.
Best regards,

Andrej Lezo

Simon <caldavzap@xxxxxxxxxx> napísal:

Hello Jan,

I now took a look in the logs:

When opening caldavzap I get the following:

ROPFIND http://server/SOGo/dav/user/Calendar/ 207 Multi-Status 74ms

<?xml version="1.0" encoding="utf-8"?>
<D:multistatus xmlns:a="http://apple.com/ns/ical/";
xmlns:D="DAV:"><D:response><D:href>/SOGo/dav/user/Calendar/</D:href><D:propstat><D:status>HTTP/1.1
200 OK</D:status><D:prop><D:current-user-privilege-set
xmlns:D="DAV:"><D:privilege><D:read-current-user-privilege-set/></D:privilege><D:privilege><D:read/></D:privilege><D:privilege><D:bind/></D:privilege><D:privilege><D:unbind/></D:privilege><D:privilege><D:write/></D:privilege><D:privilege><D:write-properties/></D:privilege><D:privilege><D:write-content/></D:privilege></D:current-user-privilege-set><D:displayname>Calendar</D:displayname><D:resourcetype><D:collection/></D:resourcetype></D:prop></D:propstat><D:propstat><D:status>HTTP/1.1
404 Not
Found</D:status><D:prop><a:calendar-color/><D:sync-token/></D:prop></D:propstat></D:response><D:response><D:href>/SOGo/dav/user/Calendar/personal.ics</D:href><D:propstat><D:status>HTTP/1.1
200 OK</D:status><D:prop><D:current-user-privilege-set
xmlns:D="DAV:"></D:current-user-privilege-set><D:displayname>Pers&#246;nlicher
Kalender</D:displayname><D:resourcetype/></D:prop></D:propstat><D:propstat><D:status>HTTP/1.1
404 Not
Found</D:status><D:prop><a:calendar-color/><D:sync-token/></D:prop></D:propstat></D:response><D:response><D:href>/SOGo/dav/user/Calendar/personal.xml</D:href><D:propstat><D:status>HTTP/1.1
200 OK</D:status><D:prop><D:current-user-privilege-set
xmlns:D="DAV:"></D:current-user-privilege-set><D:displayname>Pers&#246;nlicher
Kalender</D:displayname><D:resourcetype/></D:prop></D:propstat><D:propstat><D:status>HTTP/1.1
404 Not
Found</D:status><D:prop><a:calendar-color/><D:sync-token/></D:prop></D:propstat></D:response><D:response><D:href>/SOGo/dav/user/Calendar/personal/</D:href><D:propstat><D:status>HTTP/1.1
200
OK</D:status><D:prop><a:calendar-color>#84BC34FF</a:calendar-color><D:current-user-privilege-set
xmlns:n2="urn:inverse:params:xml:ns:inverse-dav" xmlns:D="DAV:"
xmlns:n1="urn:ietf:params:xml:ns:caldav"><D:privilege><D:read/></D:privilege><D:privilege><D:read-current-user-privilege-set/></D:privilege><D:privilege><n1:read-free-busy/></D:privilege><D:privilege><D:bind/></D:privilege><D:privilege><n1:schedule/></D:privilege><D:privilege><n1:schedule-post/></D:privilege><D:privilege><n1:schedule-post-vevent/></D:privilege><D:privilege><n1:schedule-post-vtodo/></D:privilege><D:privilege><n1:schedule-post-vjournal/></D:privilege><D:privilege><n1:schedule-post-vfreebusy/></D:privilege><D:privilege><n1:schedule-deliver/></D:privilege><D:privilege><n1:schedule-deliver-vevent/></D:privilege><D:privilege><n1:schedule-deliver-vtodo/></D:privilege><D:privilege><n1:schedule-deliver-vjournal/></D:privilege><D:privilege><n1:schedule-deliver-vfreebusy/></D:privilege><D:privilege><n1:schedule-respond/></D:privilege><D:privilege><n1:schedule-respond-vevent/></D:privilege><D:privilege><n1:schedule-respond-vtodo/></D:privilege><D:privilege><D:unbind/></D:p
ri
vil
ege><D:privilege><D:write-properties/></D:privilege><D:privilege><D:write-content/></D:privilege><D:privilege><D:write/></D:privilege><D:privilege><D:read-acl/></D:privilege><D:privilege><D:write-acl/></D:privilege><D:privilege><n2:admin/></D:privilege><D:privilege><D:all/></D:privilege></D:current-user-privilege-set><D:displayname>Pers&#246;nlicher
Kalender</D:displayname><D:resourcetype><D:collection/><calendar
xmlns="urn:ietf:params:xml:ns:caldav"/><vevent-collection
xmlns="http://groupdav.org/"/><vtodo-collection
xmlns="http://groupdav.org/"/><schedule-outbox
xmlns="urn:ietf:params:xml:ns:caldav"/></D:resourcetype></D:prop></D:propstat><D:propstat><D:status>HTTP/1.1
404 Not
Found</D:status><D:prop><D:sync-token/></D:prop></D:propstat></D:response></D:multistatus>


REPORT http://server/SOGo/dav/user/Calendar/personal/ 207 Multi-Status

<?xml version="1.0" encoding="utf-8"?>
<D:multistatus
xmlns:D="DAV:"><D:sync-response><D:href>/SOGo/dav/user/Calendar/personal/6d026dd6044076dfde4ed7ecbedeec887b0df320de9ccd95f9f7469aae99cd17.ics</D:href><D:status>HTTP/1.1
201
Created</D:status><D:propstat><D:prop><D:getcontenttype>text/calendar</D:getcontenttype><D:getetag>&quot;gcs00000002&quot;</D:getetag></D:prop><D:status>HTTP/1.1
200
OK</D:status></D:propstat></D:sync-response><D:sync-response><D:href>/SOGo/dav/user/Calendar/personal/c35bf93529a8a22cb079dc4d924ac359c477d2f0d60fcc88208b9bb02a14a658.ics</D:href><D:status>HTTP/1.1
201
Created</D:status><D:propstat><D:prop><D:getcontenttype>text/calendar</D:getcontenttype><D:getetag>&quot;gcs00000001&quot;</D:getetag></D:prop><D:status>HTTP/1.1
200
OK</D:status></D:propstat></D:sync-response><D:sync-token>1363922134</D:sync-token></D:multistatus>

The .ics-file looks as follows:
BEGIN:VCALENDAR
VERSION:2.0
BEGIN:VEVENT
CREATED:20130322T031033Z
LAST-MODIFIED:20130322T031532Z
DTSTAMP:20130322T031532Z
UID:b583diub-4e32-ia2p-ljmd-2yak0ufcgl5g
SUMMARY:Test3
TRANSP:OPAQUE
CLASS:PUBLIC
DTSTART;TZID=Europe/Berlin:20130322T090000
DTEND;TZID=Europe/Berlin:20130322T100000
END:VEVENT
END:VCALENDAR


Right after the next REPORT I get the following:

PROPPATCH http://server/SOGo/dav/user/Calendar/personal/ 403 Forbidden
<?xml version="1.0" encoding="ISO-8859-1"?>
<html xmlns="http://www.w3.org/1999/xhtml";>
<body><h3>An error occurred during object publishing</h3><p>Property
'{http://inf-it.com/ns/cal/}cal-settings' cannot be set.</p></body>
</html>


Yours,
Simon

Am 06.03.2013 01:58, schrieb Ján Máté:
Hi Simon,

On Mar 6, 2013, at 1:51 AM, Simon <caldavzap@xxxxxxxxxx> wrote:

Hey Jan,

just tell when and how I can help (with logs or an account etc.).
So far: Seems really good!
If you are redoing the interface, could you make it so that entrys have a default starting hour (p.ex. next full hour) and an end-date which is starting hour+1 (even if one changes the starting hour).

use double-click on the hour fields, and you will get:
- the current time as "start time" and
    - current time+1 hour as "end time" (if the start and end dates are the same) or
    - the same "end time" as "start time" (if the end date is greater than start date)

You can also create events using mouse (click, drag and release) and the dates/times will be predefined :-)


JM


I really like the fact that CalDAVzap uses the predefined colors from the server.

Simon

Am 06.03.2013 01:42, schrieb Ján Máté:
Hi Simon,

CalDavZAP is currently tested ONLY with DAViCal. Support for more servers will come in future - I hope in next 2-3 months (currently we are working on completely new interface for ToDo and minor bug fixes).


JM


On Mar 6, 2013, at 1:35 AM, Simon <caldavzap@xxxxxxxxxx> wrote:

Hello from Passau,

I have setup CalDAVzap with SOGo. This is working partly.
When I enter an entry I can see it on all my devices (SOGo WebClient, Thunderbird and Android via CalDAV-Sync). I can edit it and everything is fine.

However, after reloading CalDAVzap the entry is not shown like all entries made on my other devices.

It seems like CalDAVzap is failing to load those entries from SOGo.
In the SOGo-Logs I see PROPFIND and REPORT.

Any help appreciated.

Simon







BEGIN:VCALENDAR
PRODID:-//Inverse inc./SOGo 2.0.4b//EN
VERSION:2.0
BEGIN:VTIMEZONE
TZID:Europe/Berlin
X-LIC-LOCATION:Europe/Berlin
BEGIN:DAYLIGHT
TZOFFSETFROM:+0100
TZOFFSETTO:+0200
TZNAME:CEST
DTSTART:19700329T020000
RRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=-1SU
END:DAYLIGHT
BEGIN:STANDARD
TZOFFSETFROM:+0200
TZOFFSETTO:+0100
TZNAME:CET
DTSTART:19701025T030000
RRULE:FREQ=YEARLY;BYMONTH=10;BYDAY=-1SU
END:STANDARD
END:VTIMEZONE
BEGIN:VEVENT
UID:2674-514CBB00-25-1D872D20
SUMMARY:Test5
CLASS:PUBLIC
CREATED:20130322T201247Z
DTSTAMP:20130322T201247Z
LAST-MODIFIED:20130322T201308Z
DTSTART;TZID=Europe/Berlin:20130322T220000
DTEND;TZID=Europe/Berlin:20130322T230000
TRANSP:OPAQUE
SEQUENCE:1
END:VEVENT
END:VCALENDAR
BEGIN:VCALENDAR
VERSION:2.0
BEGIN:VTIMEZONE
TZID:Europe/Berlin
BEGIN:DAYLIGHT
DTSTART:19810329T020000
TZNAME:CEST
TZOFFSETFROM:+0100
TZOFFSETTO:+0200
RRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=-1SU
END:DAYLIGHT
BEGIN:DAYLIGHT
DTSTART:19450924T030000
TZNAME:CEST
TZOFFSETFROM:+0300
TZOFFSETTO:+0200
RDATE:19470629T030000
RDATE:19450924T030000
END:DAYLIGHT
BEGIN:DAYLIGHT
DTSTART:19450524T020000
TZNAME:CEMT
TZOFFSETFROM:+0200
TZOFFSETTO:+0300
RDATE:19470511T030000
RDATE:19450524T020000
END:DAYLIGHT
BEGIN:DAYLIGHT
DTSTART:19160430T230000
TZNAME:CEST
TZOFFSETFROM:+0100
TZOFFSETTO:+0200
RDATE:19800406T020000
RDATE:19490410T020000
RDATE:19480418T020000
RDATE:19470406T030000
RDATE:19460414T020000
RDATE:19450402T020000
RDATE:19440403T020000
RDATE:19430329T020000
RDATE:19400401T020000
RDATE:19180415T020000
RDATE:19170416T020000
RDATE:19160430T230000
END:DAYLIGHT
BEGIN:STANDARD
DTSTART:19961027T030000
TZNAME:CET
TZOFFSETFROM:+0200
TZOFFSETTO:+0100
RRULE:FREQ=YEARLY;BYMONTH=10;BYDAY=-1SU
END:STANDARD
BEGIN:STANDARD
DTSTART:19460101T000000
TZNAME:CET
TZOFFSETFROM:+0100
TZOFFSETTO:+0100
RDATE:19800101T000000
RDATE:19460101T000000
END:STANDARD
BEGIN:STANDARD
DTSTART:19161001T010000
TZNAME:CET
TZOFFSETFROM:+0200
TZOFFSETTO:+0100
RDATE:19950924T030000
RDATE:19940925T030000
RDATE:19930926T030000
RDATE:19920927T030000
RDATE:19910929T030000
RDATE:19900930T030000
RDATE:19890924T030000
RDATE:19880925T030000
RDATE:19870927T030000
RDATE:19860928T030000
RDATE:19850929T030000
RDATE:19840930T030000
RDATE:19830925T030000
RDATE:19820926T030000
RDATE:19810927T030000
RDATE:19800928T030000
RDATE:19491002T030000
RDATE:19481003T030000
RDATE:19471005T030000
RDATE:19461007T030000
RDATE:19451118T030000
RDATE:19441002T030000
RDATE:19431004T030000
RDATE:19421102T030000
RDATE:19180916T030000
RDATE:19170917T030000
RDATE:19161001T010000
END:STANDARD
BEGIN:STANDARD
DTSTART:18930401T000000
TZNAME:CET
TZOFFSETFROM:+005328
TZOFFSETTO:+0100
RDATE:18930401T000000
END:STANDARD
END:VTIMEZONE
BEGIN:VEVENT
CREATED:20130322T204940Z
LAST-MODIFIED:20130322T204940Z
DTSTAMP:20130322T204940Z
UID:tjw1nj8e-l5gh-3uml-ktne-yndlfw1u4hx8
SUMMARY:Test6
TRANSP:OPAQUE
CLASS:PUBLIC
DTSTART;TZID=Europe/Berlin:20130322T230000
DTEND;TZID=Europe/Berlin:20130322T233000
END:VEVENT
END:VCALENDAR

References:
Re: [Inf-IT DAVcl] Strange behaviourAndrej Lezo <andrej.lezo@xxxxxxxxxx>
Re: [Inf-IT DAVcl] Strange behaviourSimon <caldavzap@xxxxxxxxxx>
Re: [Inf-IT DAVcl] Strange behaviourJán Máté <jan.mate@xxxxxxxxxx>