Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Users can create reoccuring events that never occur. #424

Open
intelagense opened this issue Jul 3, 2023 · 3 comments
Open

Users can create reoccuring events that never occur. #424

intelagense opened this issue Jul 3, 2023 · 3 comments
Labels
Backend bug Something isn't working Frontend

Comments

@intelagense
Copy link
Member

intelagense commented Jul 3, 2023

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:

  1. Open the calendar view
  2. Press the create new event + button on the first day of the week. (must be past today's date)
  3. Create a weekly recurring event for the last day of that week.
  4. Ensure that the start and end dates do not include the weekday of the event.
  5. Click Submit on the confirm section of the modal.
  6. 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.

@intelagense intelagense added bug Something isn't working Frontend Backend labels Jul 3, 2023
@MingJae92
Copy link

Hi there, I am quite new to this could you explain steps 3-6 in more detail please?

@intelagense
Copy link
Member Author

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.
Event creation modal with date picker dates circled

@romanstetsyk
Copy link
Contributor

@intelagense, it's definitely a bug. Nice catch!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Backend bug Something isn't working Frontend
Projects
None yet
Development

No branches or pull requests

3 participants