davepar / gcalendarsync

Apps Script for syncing a Google Spreadsheet with Google Calendar
MIT License
161 stars 46 forks source link

Events deleted from spreadsheet whether new or old #4

Closed Meamsosmart closed 8 years ago

Meamsosmart commented 8 years ago

Hi Dave, Great script! Mostly because I am not a programmer and it would take me forever to figure it out. However, I hope to learn soon. I opened up your test calendar and it wrote all of the events to my calendar wonderfully. The problem is, I was left with a blank spreadsheet afterwards! I easily then synched from the calendar to the spreadsheet to repopulate it, but I would rather not have that happen. As far as I can tell, you do not intend that to happen with this script. I can't see anywhere in the script where it would delete an entry once it is written to the calendar. I hope this has not already been addressed in the comments, but I think previous issues were related to just deleted functions, not deleting all the data. Thanks, Victor

davepar commented 8 years ago

I just added a fix to the script to address this. I was trying to fix a problem with preserving formulas reported in issue #3, but ended up causing data to be deleted. Let me know if this doesn't fix the problem.

Meamsosmart commented 8 years ago

Thanks so much Dave! I figured it was an unintended by-product of your other fix. It fixed the problem. I was able to test it soon after, it just took me a while to thank you!

Victor Sprenger, DVM, MSc Eng, BSc Eng

Date: Fri, 26 Feb 2016 09:30:35 -0800 From: notifications@github.com To: gcalendarsync@noreply.github.com CC: meamsosmart@hotmail.com Subject: Re: [gcalendarsync] Events deleted from spreadsheet whether new or old (#4)

I just added a fix to the script to address this. I was trying to fix a problem with preserving formulas reported in issue #3, but ended up causing data to be deleted. Let me know if this doesn't fix the problem.

— Reply to this email directly or view it on GitHub.