Skip to content

Fixes for #638 and #639#639

Open
tobixen wants to merge 4 commits intomasterfrom
issue638
Open

Fixes for #638 and #639#639
tobixen wants to merge 4 commits intomasterfrom
issue638

Conversation

@tobixen
Copy link
Member

@tobixen tobixen commented Mar 13, 2026

A NotImplementedError was replaced with proper code for #637 and a the debug communication log has been restored, both for async and sync, without any code duplication, and with test code this time.

I'm lumping them together as one PR, even if it's two separate issues - just because I'm lazy (but it's probably still better than committing directly to the main branch).

The "fix" for #637 is a bit optimistic. At the other hand, this seems like a weird and deprecated corner case.

tobixen and others added 3 commits March 13, 2026 17:07
The debug_dump_communication / PYTHON_CALDAV_COMMDUMP feature was lost
during the v3.0 refactor.  Extract it into a shared _dump_communication()
helper in caldav.lib.error so the logic is not duplicated between the
sync (_sync_request) and async (_async_request) code paths.

Fixes #638

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
When search() is called with a full calendar-query XML and the server
does not support search.comp-type.optional, the code raised
NotImplementedError.  Fall back to a single REPORT with the XML as-is
(comp_class auto-detected from response data) for both the sync and
async code paths.

Fixes #637

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Registers the CLASS property variant of the is-not-defined search
feature, matching the existing .category and .dtend sub-features.
Required by caldav-server-tester's CheckIsNotDefined check.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
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