You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 8, 2023. It is now read-only.
Currently, trying to create an event that starts in the past and has no end time fails. This is because the API assumes that events with only start time end at midnight, as per Linkedevents conventions, and past events may not be edited.
However, the UI is unable to process the API response "end time cannot be in the past", and yields
Uncaught TypeError: Cannot read property 'path' of undefined
at exports.default (validator.js?3f13:34)
if the API returns HTTP 400.
Therefore, if the end time field is left empty, we must have a validator that checks that the start time is today or in the future, so the API will accept the PUT/POSTed event.
The text was updated successfully, but these errors were encountered:
Currently, trying to create an event that starts in the past and has no end time fails. This is because the API assumes that events with only start time end at midnight, as per Linkedevents conventions, and past events may not be edited.
However, the UI is unable to process the API response "end time cannot be in the past", and yields
if the API returns HTTP 400.
Therefore, if the end time field is left empty, we must have a validator that checks that the start time is today or in the future, so the API will accept the PUT/POSTed event.
The text was updated successfully, but these errors were encountered: