I have a problem with removeCalendar, because it return HTTP/1.1 404 Not Found for existing calendar. I looked into a code and I think that in function removeCalendar is problem with adding slash:
DeleteMethod deleteMethod = new DeleteMethod(getPath() + "/" + uid + ".ics");
Because for example in function getCalendar is code:
String path = getPath(); if (!path.endsWith("/")) { path = path.concat("/"); } GetMethod method = new GetMethod(path + uid + ".ics");
and function getCalendar is working (so functions addEvent and updateEvent)
Log in to post a comment.
I have a problem with removeCalendar, because it return HTTP/1.1 404 Not Found for existing calendar.
I looked into a code and I think that in function removeCalendar is problem with adding slash:
Because for example in function getCalendar is code:
and function getCalendar is working (so functions addEvent and updateEvent)
Last edit: Marek Čačko 2014-01-16