You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This means that exceptional events that are stored in the same Calendarobject will not be found when we do a time range search for the exact day the exception takes place and the exception is not inside the range of the main recurring event range
The text was updated successfully, but these errors were encountered:
@kesslerd can you give a specific example that illustrates the problem.
If possible, make a PR with a new unit test case that has the example and fails. Then I can more reliably make sure that I really fix what you are describing.
Even better, also add code changes that make the unit test pass!
I created a recurrent event from the 3rd of January until the 10th of January from 11:30 until 11:45.
After that I moved the first entry in the event series to the 2nd of January
The calculated first occurence is 1704281400 which would still be the 3rd of January.
This event has two VEvents entries, but the getDenormalizedData Method only looks at the first VEvent block it finds and uses the DSTART Property and does not consider any further blocks.
Maybe the method can loop through each VEvent-Block to find the min firstOccurence and max lastOccurence.
When I create a recurring event and move the first event to the day before the calendarobject-record still has the same firstoccurence as before.
When I look at the code it seems that https://github.com/sabre-io/dav/blob/master/lib/CalDAV/Backend/PDO.php#L625 does only use the first VEvent Component it finds for the calculation
This means that exceptional events that are stored in the same Calendarobject will not be found when we do a time range search for the exact day the exception takes place and the exception is not inside the range of the main recurring event range
The text was updated successfully, but these errors were encountered: