akarri2001 / Notion-and-Google-Calendar-2-Way-Sync

2 Way Sync Between Notion Database and Google Calendar
GNU General Public License v3.0
352 stars 50 forks source link

Multi-Calendar Sync Breaks When GCal event deleted but not Notion item #5

Open akarri2001 opened 3 years ago

akarri2001 commented 3 years ago

If you delete the GCal event and not the Notion item, the calendar sync is inaccurate for other events. However, if you delete the Notion item and run the code again, then everything is fixed again.

akarri2001 commented 3 years ago

I'm working on developing some kind of "deletion sync" to not have to worry about this problem in the future

suged commented 3 years ago

Thanks for the great work. It means at this time if I delete a Notion item, it will not be deleted from gcal ? Is there a simple fix ?

akarri2001 commented 3 years ago

Yes, that is correct; if the item is deleted from Notion and not from gCal, then the code will add it back into Notion. A fix would be adding a "delete" checkbox property to the Notion database and then having the code delete all of the items where it is checked on both gCal and Notion.

I'm pretty busy right now with work so developing it will be on the horizon but I can't say exactly when.