Rock
Rock copied to clipboard
Editing a schedule on an existing Event Item Occurrence doesn't update the Next Start Date
Prerequisites
- [X] Put an X between the brackets on this line if you have done all of the following:
- Did you perform a search at https://github.com/issues?q=is%3Aissue+user%3ASparkDevNetwork+-repo%3ARock to see if your bug or enhancement is already reported?
- Can you reproduce the problem on a fresh install or the demo site?
- Did you include your Rock version number and client culture setting?
Steps to Reproduce
-
Create a new event item occurrence with a one time schedule set in the future.
-
Next, edit the event item occurrence by changing just the schedule to a different date.
-
Return to the event item occurrence list and see that the Next Start Date is incorrect.
The issue seems to be caused by the fact that editing just the schedule doesn't trigger the event item occurrence PreSaveChanges() to update the NextStartDateTime field since the Event Item Occurrence itself was not modified.
Expected behavior:
Expected the Next Start Date to update when changing the schedule on an event item occurrence.
Actual behavior:
The Next Start Date does not update. (Eventually it will fix itself when the Rock Cleanup job runs.)
Versions
- Rock Version: v13.7, latest develop
- Client Culture Setting: en-US