Sierra: Cannot add exclusions to a recurrence with an UNTIL date.

Created on 11 January 2024, about 1 year ago
Updated 26 March 2024, 10 months ago

Description:

Sierra Widget

When adding exclusions to a custom recurrence using an "Ends On Date", an InvalidArgumentException is thrown on line 181 in RfcParser.php (part of php-rrule library).

The error message:

"Invalid UNTIL property: if the "DTSTART" property is specified as a date with UTC time or a date with local time and time zone reference, then the UNTIL rule part MUST be specified as a date with UTC time."

Steps to Reproduce:

Create a new event.
Set a custom recurrence for the event.
Select the "Ends On Date" option and specify an end date.
Open the Exclusions modal.
Select a date in the list.
Select Done.
Error message appears.

Proposed Resolution:

The attached patch for DateRecurModularSierraModalOccurrencesForm.php appears to resolve the issue on the surface, but I defer to others if this could cause unintended side-effects.

πŸ› Bug report
Status

Closed: outdated

Version

3.0

Component

Code

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024