Outlookgooglecalendarsync: Past recurring events duplication in Outlook

Created on 9 Aug 2019  Â·  7Comments  Â·  Source: phw198/OutlookGoogleCalendarSync

:memo: Use the below template to report your issue.
:bulb: Upgrade to the latest alpha release to check if the problem is already fixed.
:paperclip: To aid investigation, provide your OGcalsync.log file (see instructions).


OGCS Version: v2.8.1.0
Installed or Portable: Installed

Problem Description
Recurring events, seemingly those that have experienced changes in the past, duplicate on past dates, resulting in dozens of copies of the same event.

Steps to Reproduce the Issue

  1. Deleted all copies of 21-June events at 3pm PDT - Title: "Jim/Steve - Sales Rep Exec Sponsorship Bi-weekly Mtg." Verified that Google Calendar shows ONE event on this date.
  2. Turned on CSV capture in OGCS and increased logging level to FINE
  3. Sync'd and confirmed a new event on 21-Jun had been created with a recurrence period of 26-April to 21-June
  4. Sync'd a second time and there were now THREE events

    1. Two events showed a recurrence period of 26-April to 21-June,

    2. A third showed a recurrence of 21-June to 13-Sept.

  5. I emailed two sets of logs and CSVs

Any other information
Added by @phw198

  • Syncing O<-G->O

    • G is common calendar to two different O calendars

    • G calendar ID has changed name from mesosphere to d2iq

  • At some point is seems two-way sync was configured (some G items have O IDs stored)
bug resolved timezones

All 7 comments

Focusing on step 3 above and Jim/Steve - Sales Rep Exec Sponsorship Bi-weekly Mtg.

There are multiple Outlook recurring series for this meeting

:radio_button: 4/26/2019 3:00 PM - G ID = 6lpf7a5nnns4ikggg53lrmnar0
RRULE = FREQ=WEEKLY;WKST=SU;UNTIL=20190621T065959Z;INTERVAL=2;BYDAY=FR
:star: This is the one that got created in step 3. This is correct.
This has been two way synced at some point - holds Outlook IDs:

outlook_CalendarID=00000000A43E6F927FEF02458CD60A05FC0C3BA5A2840000
outlook_CalendarID-01=00000000F98CF9AC087E0F4BADAF79194944CDE301003FB1D9A7C5501E4F8C43382EAC659C5C0000000000000000
outlook_CalendarID-02=00000000A43E6F927FEF02458CD60A05FC0C3BA5A2840000
outlook_EntryID=00000000A43E6F927FEF02458CD60A05FC0C3BA504392E00
outlook_EntryID-01=00000000F98CF9AC087E0F4BADAF79194944CDE307003FB1D9A7C5501E4F8C43382EAC659C5C0000000000000000F25D599A10C89E4396BEDE19B6E957FD0000000014900000
outlook_EntryID-02=00000000A43E6F927FEF02458CD60A05FC0C3BA504DF3000
outlook_GlobalApptID=040000008200E00074C5B7101A82E0080000000000000000000000000000000000000000320000007643616C2D55696401000000366C70663761356E6E6E7334696B67676735336C726D6E61723040676F6F676C652E636F6D00
outlook_GlobalApptID-01=040000008200E00074C5B7101A82E008000000000097B75B7B4ED50100000000000000001000000021D5E0FB06872842B2841B05841F6238
outlook_GlobalApptID-02=040000008200E00074C5B7101A82E00800000000B0B4E705A14ED5010000000000000000100000000BD77586A2A2634DBA87B530178ED26B

:radio_button: 6/21/2019 3:00 PM - G ID = 6lpf7a5nnns4ikggg53lrmnar0_R20190621T220000
The entry on 8/2/2019 3:00:00 PM is deleted

:radio_button: 9/13/2019 3:00 PM - G ID = 6lpf7a5nnns4ikggg53lrmnar0_R20190913T220000
The first entry of this recurring series is an exception with a different description.

@jjkober As I see it,

  • 4i in your OP is the problem being reported - a duplicate recurring series.
  • 4ii is expected as there's another recurring series in Google that starts on 21-Jun, whilst the other finishes on 21-Jun - they overlap?

Actually, no 4ii might be a timezone problem. 26-Apr series should run to 20190621T065959Z and you're 7 hours bdehind GMT, so that's 20190620T235959. I think this is related to #636, and as noted by @ThePsionic "I assume this is a mismatch between the way both calendar systems handle "until" dates, with Google cutting off before the start of the day, and Outlook afterwards."

I think v2.8.1 fixed syncing to Google, but has introduced a bug for syncing to Outlook.

Actually not quite the same problem that I thought, but I was on the right lines - the recurrence end time is the UTC value as calculated from the Google event's start timezone. So we need to convert the recurrence end time back to local time before using it.

:package: This hotfix v2.8.1.4.zip should stop your 4/26/2019 3:00 PM recurring meeting showing on the 21-Jun (see instructions for applying).

Please could you repeat exactly the same test as you did before and let me know how it goes - I suspect the appointment might still get duplicated, but at least finish on the right day now. If so, please provide your log and CSV files again.

Test completed and results mailed. 21-Jun event was recreated with a recurrence range of 21-Jun to 27-Sept on first run. No duplicate events were created on second run. Looks like things are now behaving as expected - thanks! Let me know if you want to test anything else.

Fantastic! I was quietly hoping that it might have fixed the duplicate problem as well :grinning:

This'll close automatically when it's released in the next alpha.

Well, perhaps it is a good thing you did not close this case. I have been traveling, but yesterday I went back to clean up some of the duplicated appointments for the Jim/Steve… event on 21-APR, 10-MAY, 24-MAY, and 7-JUN. I deleted the series for each of the dozens of events, leaving the one valid appointment untouched on each date. This morning, I woke up and checked, and there were now four duplicate appointments on each of those dates. I turned on fine debugging and synced again timemark: 2019-08-27 09:14:29. Now there are five. Interestingly, no events have appeared on the 21-FEB date we were looking at originally.

I emailed the logs to you, and I am still running 2.8.1.4, let me know what else you need.

Was this page helpful?
0 / 5 - 0 ratings