Skip to content

Delete URI issue at CalDavCalendarCollection#removeCalendar() #3

@evarfolomeev

Description

@evarfolomeev

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions