I just did an upgrade an wonder how I'm gonna access the calendars
(principal collections) of my Davical-Group.
The group "workgroup" has some calendars (conference, meeting, ...).
Until AgenDAV 1.2.3, I set
$config['caldav_url'] = 'http://myserver.com/davical/caldav.php/workgroup/';
I think, this settings make most sense in 1.2.4's caldav.php:
$config['caldav_principal_url'] =
'http://myserver.com/davical/caldav.php/workgroup/';
$config['caldav_calendar_url'] =
'http://myserver.com/davical/caldav.php/%s/';
but this only brings me up my personal calendar. If I set both of them
to 'http://myserver.com/davical/caldav.php/workgroup/'
I see all shared calendars but AgenDAV fails to read the events and I
get one error message per shared calendar, which reads:
"Interface error
Error loading events from calendar
workgroup:nameOfTheCalendar"
What can I do?
El 16/01/12 11:32, Jens Bürger escribió:
> I see all shared calendars but AgenDAV fails to read the events and I
> get one error message per shared calendar, which reads:
> "Interface error
> Error loading events from calendar
> workgroup:nameOfTheCalendar"
>
> What can I do?
You're right, this change will not let you access your workgroup
calendars because it will always try to use your username as the first
part of the URL. I didn't know there was someone using AgenDAV like this
because of its (current) lack of group support.
I guess I'll have to rethink this part, as well as introduce CalDAV
group support. Until this, please, apply the attached patch and set your
caldav_calendar_url to:
'http://myserver.com/davical/caldav.php/workgroup%s' (note the lack of
slashes).
Regards.
--
Jorge López Pérez
http://adobo.org
jabber: jor...@jabberes.org
Viewing calendars works, but when I try to add appointment, I get an
"parsererror". Reading the TCP/IP-Traffic, there seems to be an error,
it seems like AgenDAV does the HTTP PUT-request with the VCALENDAR-entry on
/davival/caldav.php/groupname/calendarname123786-4ACD-... .ics
so there is no slash between calendarname und the .ics-file with the
long hex-name.
Is this right?
Jens
Clearly it isn't. I told you to set a caldav_calendar_url that lacks
a trailing slash, which is actually needed. My apologies.
Your caldav_calendar_url should look like this:
--8<--
http://myserver.com/davical/caldav.php/workgroup%s/
-->8--
Regards.
--
Jorge López Pérez
http://adobo.org
Here we go, now it works :)