Trying to configure my caldav calendar at iCalendar setting ( ds/admin.root.calendars.icalendars ). I have tried using various calendar type options available like:
ICAL_SERVER
CALENDAR_SERVER
but there seems to be configuration error in all.
Resolution required
Is caldav supported by Axelor ? What setting will enable this feature ?
Did you get caldav to work?
I can put in a valid configuration - I had to add some nginx rewrite rules in front of the caldav server to get it to work. But sync of calendar does not work. Axelor logs an exception (at DEBUG level):
action: com.axelor.apps.base.web.ICalendarController:synchronizeCalendar
“ObjectNotFoundException: No calendar-home-set attribute found for the user” at net.fortuna.ical4j.connector.dav.CalDavCalendarStore.getCollections(CalDavCalendarStore.java:260)
I tried iCal_server and added rewrite rules for that to work, but Axelor didn’t seem to like the data it received during a sync:
com.axelor.apps.base.ical.ICalendarException: java.lang.NullPointerException, at com.axelor.apps.base.ical.ICalendarService.sync(ICalendarService.java:654)
The caldav server does not log any 404 or other such errors, so the problem appears to be in Axelor.