New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
org-caldav just deleted my entire remote calendar #113
Comments
I cannot reproduce this. org-caldav should only delete an event in a calendar if its ID used to be in an Org file but now isn't anymore. So the only way I can see this happening is when the events in that calendar were synced with org-caldav in the first place, but then you synced again with org-caldav-files set to nil, which would make it look like you deleted the events on the Org side. |
Save org-caldav-files alongside the sync state, so that we can detect if files were removed from that list. If so, ask the user whether she really likes to sync anyway. If a file was really removed, this would delete all entries from the calendar that were in that file, since org-caldav will see them as deleted. Mention this in Readme. Add test for this.
I've now added that org-caldav should detect when you remove Org files between two syncs and warn you accordingly. Also, you can now do
and calendar events will never get deleted (alternatively, you can use 'ask). |
Hello,
I set up org-caldav:
created an empty sgs.org and called
org-caldav-sync
. org-caldav now started to delete my entire remote calendar, which was definitely unwanted :-/Can I configure org-caldav to never touch the remote calendar?
Does setting
has this effect?
The text was updated successfully, but these errors were encountered: