Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Delete URI issue at CalDavCalendarCollection#removeCalendar() #3

Open
evarfolomeev opened this issue Feb 2, 2016 · 1 comment
Open

Comments

@evarfolomeev
Copy link

Hello,

https://github.com/ical4j/ical4j-connector/blob/master/src/main/java/net/fortuna/ical4j/connector/dav/CalDavCalendarCollection.java#L510

DeleteMethod deleteMethod = new DeleteMethod(getPath() + "/" + uid + ".ics");

Here I got in debug double "/" before uid as getPath() returns also "/" in the end.
By this reason CalDavCalendarCollection#removeCalendar(String) doesn't work for me.

Probably should be:
DeleteMethod deleteMethod = new DeleteMethod(getPath() + uid + ".ics");

Please check.

@benfortuna
Copy link
Member

Created PR #6

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants