Problems with sync from Google Calendar

SupportProblems with sync from Google Calendar
MedicAppointments Staff asked 5 years ago
Mr Loncar, when I delete an event from Google Calendar, the event is not updated on the website. Even when the 'eac_google_sync' action is triggered from the CRON. I checked the google-sync.log.php and the event canceled is not found. However, when an user add a new event from the website form and the 'eac_google_sync' action is triggered, the event status is updated in database. So is it possible when i delete an event from Google Calendar to have a sync back when the 'eac_google_sync' action is triggered? Thanks in advance for your help!
MedicAppointments Staff replied 5 years ago

Ok, when there is only one row in “ea_connect_links” table and the event is deleted from Google Calendar, ea plugin does nothing. Except this issue, everything works fine.

1 Answers
Nikola Loncar Staff answered 5 years ago
Hi, can you please turn on logging all levels inside Extension Google settings. You should see all things that are done during sync. Best regards, Nikola
MedicAppointments Staff replied 5 years ago

Hi,

I ‘am sorry for this late response. Since, I have more than 1 appointment in the database, the sync works well for my customers. So, I can say this is no longer an issue.
I have just one other question, I have noticed something about repeating event on Google Calendar and the ea plugin. When a user on google calendar choose to repeat an event every week, the Google Calendar API send the same event until 2033! Therefore, I have already more than 19k entries in my db.
So, is it not better to create a specific column in the “ea_appointment” table for recurring event to save memory?

Thanks in advance for your help!

Nikola Loncar Staff replied 5 years ago

Hi, you are right. Atm we are pulling all events. I have one suggestion regarding that you can set the limit how far you want to sync events with EA so for example set it to 365 days. That will prevent pulling events up to 2033.

Best regards,
Nikola

MedicAppointments Staff replied 5 years ago

OK, I will set the limit to 365days. Thank you very much for your prompt response.