Skip to content

accept icalendar event/todo objects and not only calendar - #550

Merged
tobixen merged 3 commits into
masterfrom
issue546
Sep 20, 2025
Merged

tobixen merged 3 commits into
masterfrom
issue546

Conversation

@tobixen

@tobixen tobixen commented Sep 20, 2025 •

Copy link
Copy Markdown
Member

Users of the library are trying to push icalendar Event objects into the caldav library, and it fails. The CalDAV protocol demands that each "calendar object resource" is wrapped in an icalendar Calendar, but one of the objectives with this library is that users should not need to know many details about the CalDAV protocol. Hence this should be possible.

Solves #546

Partial fix for #541

Caveat: the fix has two code paths, one for the (yet to be published) icalendar>=7 and another for icalendar<7. However, the test code will only run on icalendar>=7 - meaning that this fix has not been verified for icalendar 6.

@tobixen
tobixen merged commit d36acae into master Sep 20, 2025
7 checks passed
@tobixen
tobixen deleted the issue546 branch September 20, 2025 11:35
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

Successfully merging this pull request may close these issues.

1 participant