question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Google created item is deleted during synchronization

See original GitHub issue

Checklist:-

  • Upgrade to the latest release (alpha if available) latest release
  • Reproduce the issue
  • Complete the information below
  • Provide your OGcalsync.log file (see how-to)

OGCS Version: v2.8.6.0 Edition: Portable
Sync Direction: O<->G

Bug Description
The event “Deutsch” is created in Google. Then it was synchronized to Outlook. After some time synchronization deleted it from both Google and Outlook. After restoring the event in Google next synchronization deletes it again.

Steps to Reproduce the Issue
Not sure what exactly events are deleted. Before I had a situation that some (not all) events created in Outlook where deleted.

Any other information
Log can be found here: https://gist.github.com/ralfeus/28037cbe06e729230dfd97af3d18c918

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:8 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
phw198commented, May 5, 2021

Thanks for getting to the bottom of that and reporting back - however, this is essentially what’s documented in the limitations section of the wiki. Never changing the original item of a calendar rather undermines the concept of two-way sync, and is much more likely to cause confusion with users.

It looks like you are only syncing 30 days into the future? I’d suggest you increase that sync window so it’s less likely you’ll move a Google item out of the synced date range, and therefore won’t encountered this limitation.

0reactions
ralfeuscommented, Apr 26, 2021

Ok, I’ve encountered the issue again with different item. This time it’s not recurrent Steps to reproduce:

  1. Create item in Google
  2. Perform sync
  3. Move item in Google outside of synchronization time range
  4. Perform sync. It will delete the item in the Outlook.
  5. Wait for item to be in synchronization time range
  6. Perform sync
  7. Enjoy item deletion in Google

I suppose the reason is that following happens:

  1. Item can’t be found and therefore considered as deleted
  2. The corresponding Outlook item is deleted. Outlook attributes though aren’t cleaned up from Google item
  3. When the Google item is in sync range it checks the item, finds Outlook attributes but doesn’t find corresponding Outlook item.
  4. Because there is no corresponding Outlook item the item in general is considered deleted and is deleted from Google too

I would say the solution would be to have a source attribute set for each item and update only ones that are created by the synchronizer. Original items both in Outlook and Google must not be changed

Read more comments on GitHub >

github_iconTop Results From Across the Web

Google Backup (NOT Sync) - Deleting Files on Desktops ...
To reiterate, Google Drive is not enabled and says "Don't Sync to this computer". My understanding is the "Remove Items Everywhere" only applies...
Read more >
How to Solve “Google Backup and Sync Deleting Files” Issue
This article will show you how to solve “Google Backup and Sync is deleting files” issue and teach you how to delete files...
Read more >
What happens to an item in your sync'd folders in Google ...
When you delete a file or folder from your Google Drive account, it doesn't disappear immediately. Instead, it goes into the trash. This...
Read more >
Core Data Sync - Tracking Deleted Objects
I do that in a client by creating an array of object IDs when I get a response from the server and deleting...
Read more >
After Backup and Sync tried to delete a file, I can't delete it ...
My access to a folder in my Google Drive was removed, and I had synced it with my Windows file system using Backup...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found