cgoIT / contao-calendar-ical-bundle

Contao extension calendar_ical
Other
0 stars 4 forks source link

Keep the existing event id by matching uuid while ical import #27

Closed rabauss closed 7 months ago

rabauss commented 7 months ago

This PR solves the issue that the event id will be changed or increased on every iCal import. Therefore all existing events are saved in a dictionary and after the import the events which where not in the iCal file are deleted instead of full deletion before the import.

EDIT: the CS commit was necessary because of build errors

cgoIT commented 7 months ago

Hi @rabauss

thx a lot. Good idea. I had to fix some minor ecs and phpstan errors. The new release is at https://github.com/cgoIT/contao-calendar-ical-bundle/releases/tag/v5.1.0