You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix Nextcloud test failures and cleanup regime configuration
Changes:
1. Add save-load.reuse-deleted-uid feature definition to document the
Nextcloud trashbin bug (issue #30096)
2. Change cleanup-regime from 'none' to 'wipe-calendar' for ephemeral
Docker containers (Bedework, Cyrus, Sogo, Nextcloud). This ensures
objects are deleted after tests while keeping calendars intact,
preventing UID reuse conflicts.
3. Remove 'save-load.reuse-deleted-uid': {'support': 'broken'} from
Nextcloud config since caldav-server-tester doesn't explicitly test
this feature. The bug is worked around in specific tests that need
to delete events.
The Nextcloud testCheckCompatibility and testCreateEvent tests now pass
consistently with these changes combined with caldav-server-tester fixes.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: caldav/compatibility_hints.py
+9-8Lines changed: 9 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -107,6 +107,9 @@ class FeatureSet:
107
107
"save-load.todo.recurrences.count": {"description": "The server will receive and store a recurring task with a count set in the RRULE"},
108
108
"save-load.todo.mixed-calendar": {"description": "The same calendar may contain both events and tasks (Zimbra only allows tasks to be placed on special task lists)"},
109
109
"save-load.journal": {"description": "The server will even accept journals"},
110
+
"save-load.reuse-deleted-uid": {
111
+
"description": "After deleting an event, the server allows creating a new event with the same UID. When 'broken', the server keeps deleted events in a trashbin with a soft-delete flag, causing unique constraint violations on UID reuse. See https://github.com/nextcloud/server/issues/30096"
112
+
},
110
113
"save-load.event.timezone": {
111
114
"description": "The server accepts events with non-UTC timezone information. When unsupported or broken, the server may reject events with timezone data (e.g., return 403 Forbidden). Related to GitHub issue https://github.com/python-caldav/caldav/issues/372."
"behaviour": "Search by name failed: ReportError at '501 Not Implemented - <?xml version=\"1.0\" encoding=\"ISO-8859-1\"?>\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\n<body><h3>An error occurred during object publishing</h3><p>did not find the specified REPORT</p></body>\n</html>\n', reason no reason",
0 commit comments