TeamsiteDesign / TeamCalendarSync-Public

6 stars 0 forks source link

On initial synch many invites were sent out for old meetings. #282

Open jonrGitHub opened 6 years ago

jonrGitHub commented 6 years ago

I connected with an older calendar (5-10 years) and it appears that many invites were sent out for (very) old meetings - meetings I did not expect to be synched as I was using the default of 1 month in the past as a time period (I used defaults wherever I could on this first pass).

I'm getting a number of people asking about these - it includes meetings from a couple weeks ago back to 2008... Some repeating, some not.

Here are the initial synch logs:

SENT TO EXCHANGE Events Created:0 Events Updated:0 Events Deleted:0 RECEIVED FROM EXCHANGE Sync Start:2018-01-10 12:27:43 Sync End:2018-01-10 12:28:28 Sync Status:COMPLETE Events Changed:127 Receive Start:2018-01-10 12:28:39 Receive End:2018-01-10 12:28:53 Receive Status:COMPLETE Changes Received:336 Process Start:2018-01-10 12:28:53 Process End:2018-01-10 12:32:41 Process Status:COMPLETE Changes Processed:336

SENT TO EXCHANGE Events Created:0 Events Updated:129 Events Deleted:0 RECEIVED FROM EXCHANGE Sync Start:2018-01-10 12:30:12 Sync End:2018-01-10 12:31:05 Sync Status:COMPLETE Events Changed:0 Receive Start:2018-01-10 12:31:04 Receive End:2018-01-10 12:34:11 Receive Status:COMPLETE Changes Received:8 Process Start:null Process End:null Process Status:NOT STARTED Changes Processed:0

blueleader07 commented 6 years ago

Jon,

Thanks for reporting this. You should know -- this is not the "normal" behavior. Apologies for the frustration.

A couple things about how the app is "designed" to give you some background.

  1. An invitation / cancellation is sent when the app detects an event has been created / updated / or deleted. Normally this happens when you have manually created / edited / or deleted an event from the Android calendar. It's unexpected that lots of event invitations were fired off on the first sync.

  2. The "Sync Past Events" logic will ignore an event if the date is older than the cut-off. However, it does not skip "recurring events". It's a bit more difficult to determine if recurring events are no longer valid (there could be future instances of recurring events). So the app does not ignore any recurring events. So you will see recurring events synced (even if they are very old). Still, this should not be sending out invitations unless you have modified an event.

My guess: somehow these events were marked as "modified" in the Android Calendar. Do you, by any chance, have another app that might muck around with the Calendar entries? Perhaps some other calendar utility that might have updated the events, which then triggered the invites to be sent?