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
Edits to calendar events are not correctly reflected in Google Calendar #5629
Comments
@jacksojourn - Sorry this is still causing you some headaches. You mentioned that the workaround of appending a randomized fragment to the calendar URL ("#v2", etc.) will force a refresh, which indicates to me that this continues to be a problem with the Google cache rather than the behavior of Rock itself. I've seen a number of suggestions from others experiencing the same problem in other applications that the Google cache period may be longer than 24 hours in some circumstances, but there seems to be no guaranteed time period in which the refresh will definitely happen. Aside from that, I'm not sure that there is anything we can do from the Rock side to improve this situation - if you have any suggestions or additional information, please let me know. |
@jacksojourn - To clarify this further, does this issue affect edited events and newly-added events? Or do newly-added events show up within the 24-hour refresh period but edited events do not? |
@MrUpsideDown Hey, thanks for your comments. New events are added correctly, but once they are synced to Google Calendar the first time, they are locked in forever. No additional changes from the Rock are ever reflected. My Google sync settings were off, but turning them didn't change anything for me. I'm gonna post in some Google forums where I got some help before and see if they have any ideas. Maybe we can confirm that this issue is on Google's end. |
@jacksojourn I think we have a likely fix. There is a sequence number that we may need to increment as events change. Wanted to make you aware of this before you spent too much time posting. |
@jonedmiston Thanks! I posted already, so I'll let you know I get any useful information. |
@jacksojourn - As @jonedmiston previously mentioned, we have added a sequence number to the events in the iCalendar output to fix this issue. The sequence number is calculated from when the event was last modified in Rock, which informs Google Calendar when an event has been superseded and should be replaced. Thanks for your helpful feedback and your patience on this, it is much appreciated. |
Description
Rock calendar events changed aren't reflected on Google calendar via subscription URL.
Actual Behavior
When an event is edited on the Rock (e.g. date or time is changed), Google calendar continues to show the original event with no changes (even after 24 hours).
Expected Behavior
When an event is edited on the Rock (e.g. date or time is changed), that change would be reflected on Google calendar later, automatically.
Steps to Reproduce
Note: In Rock v 14.x, it was a known limitation that deleted events would persist on Google calendar conversation here. However, edits would be still synced to Google calendar. Now no edits are syncing at all.
If you force Google to ignore its cached version by appending, e.g., "#v2" to the end of the calendar URL, then it syncs properly. But this is the only way to force it to update.
NOTE: it is not possible to test this on the demo site due to the site resetting every day. Need >24h to test.
Issue Confirmation
Rock Version
1.15.1.1
Client Culture Setting
en-US
The text was updated successfully, but these errors were encountered: