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

Error 500 uncaught by front-end form validation: "lastEventStart" must be [ref:firstEventStart] #329

Open
MatthewBozin opened this issue Feb 14, 2023 · 2 comments
Labels
bug Something isn't working High Priority This is for issues that are important to solve quickly

Comments

@MatthewBozin
Copy link
Collaborator

MatthewBozin commented Feb 14, 2023

(See #331)

Describe the bug

When the date is set to not be recurring, the server expects the start date and the end date to be identical. On the frontend, however, users can still input different start date and end date while it is set to recurring, returning a 500 error from the server.

To Reproduce

Steps to reproduce the behavior:

  1. Add a new event to the calendar.
  2. Make sure the "recurring" checkbox is set to "Not Recurring".
  3. Input different start and end dates.
  4. Finish the event creation process and check the console/network tab.

Expected behavior

There should be a message on the front-end that warns the user when they try to input different start and end dates when the "recurring" checkbox is set to "not recurring", and the user should not be able to advance the form to the next stage until they resolve the error.

Which Branch should this fix be Pulled into?

PR into development

If you're interested in working on this issue, please refer to #331

@MatthewBozin MatthewBozin added the bug Something isn't working label Feb 14, 2023
@MatthewBozin MatthewBozin changed the title Error 500 uncaught by front-end: "lastEventStart" must be [ref:firstEventStart] Error 500 uncaught by front-end form validation: "lastEventStart" must be [ref:firstEventStart] Feb 14, 2023
@Caleb-Cohen Caleb-Cohen added the High Priority This is for issues that are important to solve quickly label Feb 14, 2023
@gflacruz gflacruz mentioned this issue Feb 25, 2023
13 tasks
@BigPugLabs
Copy link

Different start and end dates could be valid

For example the Together stand-up is scheduled for 11:30 PM UTC until 12:30 AM UTC. So currently a user in a UTC+0 timezone could not create that event (without adjusting their system timezone)

@gflacruz gflacruz mentioned this issue Mar 1, 2023
13 tasks
@github-project-automation github-project-automation bot moved this from Todo to Done in Together General Issues Mar 7, 2023
@Caleb-Cohen Caleb-Cohen reopened this Mar 7, 2023
@Caleb-Cohen
Copy link
Member

Different start and end dates could be valid

For example the Together stand-up is scheduled for 11:30 PM UTC until 12:30 AM UTC. So currently a user in a UTC+0 timezone could not create that event (without adjusting their system timezone)

Good catch, thanks.

@Caleb-Cohen Caleb-Cohen moved this from Done to In Progress in Together General Issues Mar 9, 2023
@Caleb-Cohen Caleb-Cohen moved this from In Progress to Todo in Together General Issues Mar 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working High Priority This is for issues that are important to solve quickly
Projects
Development

No branches or pull requests

3 participants