Together
Together copied to clipboard
Users can create reoccuring events that never occur.
Describe the bug
It is possible to create a recurring event that never occurs due to an invalid date range.
To Reproduce
Steps to reproduce the behavior:
- Open the calendar view
- Press the create new event
+
button on the first day of the week. (must be past today's date) - Create a weekly recurring event for the last day of that week.
- Ensure that the start and end dates do not include the weekday of the event.
- Click Submit on the confirm section of the modal.
- There will be no new events on the calendar, but the form will say you have successfully created the event.
Expected behavior
There should be a validation error if no new events are added to the calendar when clicking submit on the confirm page.
Screenshots
N/A
Additional context
Users might be assuming that recurring events are indefinite. A redesign of the create event modal could help avoid confusion.
Hi there, I am quite new to this could you explain steps 3-6 in more detail please?
So in this example, the start date is a Monday and the end date is Thursday of the same week but the event is supposed to reoccur weekly on Fridays and Saturdays. The modal would allow me to continue without creating any actual events because the end date is before the first scheduled event.
@intelagense, it's definitely a bug. Nice catch!