Open frainz-de opened 3 years ago
Sorry for the slow reply and thanks for the report. I wonder what's going on, is this an event with the same internal UUID as another event?
No, it's restoring a deleted event via vdirsyncer. So I guess, for etesync it looks like a new event with the same UID.
I just reviewed the code again and it looks fine, could you please make it crash with -D
so we get the full backtrace?
Steps to reproduce:
vdirsyncer discover
vdirsyncer sync
vdirsyncer sync
vdirsyncer sync
might need--force
option if collection would become emptyvdirsyncer sync
vdirsyncer gives the following error:
the dav-bridge gives the following error:
[2020-12-02 13:31:46 +0100] [1666067/Thread-606] [ERROR] An exception occurred during PUT request on '/<username>/<collection>/<item>.ics': UNIQUE constraint failed: itementity.collection_id, itementity.uid
I have attached a file which triggers this behaviour. Just remove the txt extension before using it. 5e046c10-505b-4ce4-83e4-226393ebb537.1548086869446.ics.txt