- Issue created by @carsoncho
- Open on Drupal.org βCore: 9.5.x + Environment: PHP 7.3 & MySQL 8last update
about 1 year ago Waiting for branch to pass - @carsoncho opened merge request.
On a site we're using date_recur and the Sierra widget from this module to create events that display onto a custom calendar built with JS using fullcalendar.io (not the Drupal module). We recently ran into an issue where the our calendar was failing to load as it was failing to process the rrule
correctly. We were able to narrow the issue down to a few events that had a repeating rule set to weekly, but with no days selected. Here's one of the bad rrule's as an example:
RRULE:FREQ=WEEKLY;INTERVAL=1;BYDAY=;UNTIL=20231121T020000Z
I don't know the RFC spec entirely, but I believe this is incorrect. The BYDAY directive should have a value if in the RRULE.
I'm also unsure if this affects the other widgets.
Update the widget to enforce selection of day(s) if the Repeat pattern is set to weekly.
Active
3.0
Code