Closed dercodercom closed 1 year ago
Thanks @dercodercom for the fix. Merged.
Hi @dercodercom, could you specify, if (a) a new event is create or (b) an additional configuration is added to an event? And which calendarize version are you using? Did the first import happen before 12.0.2? So in this case they might not match up, since the implementation changed.
For events with UIDs longer than 100 characters we a mechanism in place, which creates a hash based on the UID. It is available since 12.0.2 (be1308810c8a8f84a644a6a7d86269986541fefa) https://github.com/lochmueller/calendarize/blob/b6b6f79b3a809a9b24cca7b413d67a11c97e7711/Classes/EventListener/ImportSingleIcalEventListener.php#L63
I use importer for our appointments and take here an iCAL file from an Office365 calendar and here are apparently the UIDs longer than 100 characters, so it happens when importing that he can not match the appointments and thus always adds them and you see them multiple times.
I have looked at the UIDs and they are always 113 characters long, so I would suggest that they be increased to 150 characters.
Here is an example of such a UID: 040000008200E00074C5B7101A82E008000000004AEAA27C9C3FD90100000000000010000000E0824392CEF5CF4D9CDBD3AD68431628