0 votes
in Rock by (13.1k points)
edited

Originally posted by Unknown

I'm seeing a weird thing happen with Next Start Date in calendar event occurrences. They are using specific dates in the schedule. I would expect that when I add or delete a date in the schedule tied to the event item occurrence, it should update the Next Start Date automatically. However, it's hanging on to whatever got set when the event occurrence was created. I've seen the same behavior when I tested in 2 other environments on the same version of Rock (13.7). Is this a bug or expected behavior?

1 Answer

0 votes
by DavidTurner (14.9k points)
edited
 
Best answer

It looks like if you make any change to the Event Occurrence (after updating schedule), it should then update the NextStartDate on the occurrence. The Rock Cleanup job will also update the NextStartDateTime on an Event Occurrence based off the NextStartDateTime of the schedule:

https://github.com/SparkDevNetwork/Rock/blob/hotfix-1.13.8/Rock/Jobs/RockCleanup.cs#L2208

Welcome! Here you can ask questions and receive answers (hopefully) from other members of our team.
...