From b64c9baa5f89929ab542e304cf0a32583fe0b500 Mon Sep 17 00:00:00 2001 From: Unrud Date: Wed, 30 Mar 2022 22:26:04 +0200 Subject: [PATCH] Fix upload of calendars with colliding UIDs --- radicale/storage/multifilesystem/upload.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/radicale/storage/multifilesystem/upload.py b/radicale/storage/multifilesystem/upload.py index 2d6cd89..c1cc346 100644 --- a/radicale/storage/multifilesystem/upload.py +++ b/radicale/storage/multifilesystem/upload.py @@ -97,6 +97,10 @@ class CollectionPartUpload(CollectionPartGet, CollectionPartCache, self._filesystem_path, href), "w", newline="", encoding=self._encoding) break + except pathutils.CollidingPathError: + if href_candidate_funtions: + continue + raise except OSError as e: if href_candidate_funtions and ( sys.platform != "win32" and