napitek / myroundcube

Automatically exported from code.google.com/p/myroundcube
0 stars 0 forks source link

serverside caldav invitations does not work with davical #827

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. add caldav calendar (davical)
2. a) create event and invite patricipant from the same carddav server
   c) create event, save it. Open event again and invite and invite patricipant from the same carddav server.
   b) create event using another client (lightning) and invite patricipant from the same carddav server (no mail message). In RC try to approve/reject this event by the invited user.
3.

What is the expected output? What do you see instead?
a) Event is created successfuly, invited user can see/approve new event.
Instead: RC throws error "Failed to save changes.". davical (apache) access.log:
192.168.1.1 - user1@domain.com [20/May/2015:14:25:18 +0300] "PUT 
/caldav.php/user1@domain.com/calendar/E29C78D90F0B178E60F4A8F61B1F5C62-47E69FAA9
0FCE015.ics HTTP/1.1" 500 1887 "-" "MyRoundcube-SabreDAV/1.8.6"

And no message in error.log, even if debug is enabled in davical.

b) the same as a), but url from access.log is different (see additional 
"/user1/"):
192.168.1.1 - user1@domain.com [20/May/2015:15:00:30 +0300] "PUT 
/caldav.php/user1@domain.com/user1/calendar/EC1BE949ED44F66AC8394063777D9343-47E
69FAA90FCE015.ics HTTP/1.1" 500 1887 "-" "MyRoundcube-SabreDAV/1.8.6"

c) After syncronization, new event appears in calendar. RC calendar shows 
correct statuses of all event's participants, but user cannot approve/reject 
this event. User can edit this event, but other participant calendars will not 
get this changes.
Instead: calendar should show new event (half-transparent?), after cliking on 
it RC should ask for approval (like lightning/sunbird). Automatic popup window 
after sync will be excellent.

What version of the product are you using? On what operating system?
ubuntu 14.04 amd64
RC 1.1
calendar 22.0.6
davical 1.1.1-1

Please provide any additional information below.
Lightning, sunbird, ios, android+CalDAV-Sync invitations works fine against the 
same caldav server.

Original issue reported on code.google.com by urusha.v...@gmail.com on 20 May 2015 at 12:23

GoogleCodeExporter commented 8 years ago
Works for me. We host our own DAVical (https://myroundcube.com#demos).

Please create two test accounts @ https://s2.myroundcube.com, add the DAVical 
test calendar and send invitations to each other. If you are able to duplicate 
the issue then re-open this ticket and credentials of test accounts by our 
contact form (https://myroundcube.com#contact).

Original comment by myroundc...@gmail.com on 25 May 2015 at 3:35

GoogleCodeExporter commented 8 years ago
To reproduce these issues you need:
1. 2 users in roundcube (e.g. user1 - user1@domain.com, user2 - 
user2@domain.com)
2. 2 davical accounts with the same mail addresses as in RC's user identities , 
which you will use for invitations (e.g. user1 - user1@domain.com, user2 - 
user2@domain.com).
After this, davical should use serverside invitations, which don't work for 
some reason with RC+calendar plugin.

Events with participants from non-davical mail addresses are created 
successfully.

Could you please create the second test account at davical.myroundcube.com?
Also, for now calendar plugin is disabled at https://s2.myroundcube.com but I 
could test your davical with our RC setup.

Original comment by urusha.v...@gmail.com on 25 May 2015 at 10:10

GoogleCodeExporter commented 8 years ago
Your DAVical throws an error 500 (phatal runtime error). There must be some 
more information in webserver errors for DAVical installation.

"PUT 
/caldav.php/user1@domain.com/calendar/E29C78D90F0B178E60F4A8F61B1F5C62-47E69FAA9
0FCE015.ics HTTP/1.1" 500 1887 "-" "MyRoundcube-SabreDAV/1.8.6"

--> See status code 500.

Original comment by myroundc...@gmail.com on 25 May 2015 at 11:28

GoogleCodeExporter commented 8 years ago
That's the most strange part! Davical fails silently, no information in 
error.log. Even if I set debug $c->dbg["ALL"] = 1; in davical config, it only 
shows processing messages and silently ends with no error and no response 
information. Silence is definitely davical fail, but all(!) other clients I've 
tried just work with the same server.
If it's needed I could send you davical debugging info, but I'm sured you could 
easily watch the same with your installation.
I'm ready to provide more info and test things with your server, if you give me 
the second davical account.

Original comment by urusha.v...@gmail.com on 25 May 2015 at 2:49