From 9e11ebfffc85255616582f395375f32d0aa9e7e6 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 2d6cd891..c1cc3460 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