Re: ERGroupware changes
Re: ERGroupware changes
- Subject: Re: ERGroupware changes
- From: Fabian Peters <email@hidden>
- Date: Fri, 14 Nov 2014 12:32:07 +0100
Hi Pascal,
I've just started to look into ERGroupware and wanted to make sure I'm using the cdav-connector version, but I cannot seem to find any references to e.g. "zswi.objects" in the code of the cdav-connector branch? It looks like master and cdav-connector are identical.
I bumped into an issue with the old (?) ical4j connector: Calendars.getUid throws a ConstraintViolationException "More than one UID found in calendar" when I add more than one event to a calendar and then try to add it to an existing CalDAVCollection on a DAViCal server:
for (CourseEvent anEvent : aCourse.events()) {
ERGWEvent event = new ERGWEvent(cal);
event.setStartTime(anEvent.startDateTime());
event.setEndTime(anEvent.endDateTime());
…
}
…
CalDAVCollection defaultCollection = store.getCollections()
.objectAtIndex(0);
defaultCollection.addCalendarObject(cal);
Generating the ics file via ERGWPublishCalendarPage works fine and iCal accepts it and pushes it to that same calendar on DAViCal w/o issues.
Fabian
Am 21.09.2013 um 05:02 schrieb Pascal Robert <email@hidden>:
> Hi,
>
> At WOWODC, I said that I wanted to use another library for CalDAV and use it into ERGroupware. Well, I found that other library, in fact I wrote 75% of the code in that library.
>
> https://github.com/Kerio/cdav-connector
>
> If you wish to try ERGroupware with that library, get the source of ERGroupware:
>
> https://github.com/pascalrobert/ERGroupware
>
> And switch to the "cdav-connector" branch. Please note that if you have used ERGroupware in the past, the constructors have changed. That's probably the only change you will have to do in your code.
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden