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
There's a logical error in our clean function that's causing an Internal Server Error to be thrown when users save events under certain circumstances.
To reproduce:
Create a new event
Set the start date and end date fields, but leave the time field on both fields blank.
Change the recurrence settings to anything other than "Never" and set the Recur until field to a valid date.
Save the event after entering the rest of the content correctly.
The problem is without an end time set, the end variable will be none. While the error will get set properly that causes the error message on the front end, an exception occurs before the function returns because of this line. We need to ensure that the end variable is not None before trying to access any properties on it.
The text was updated successfully, but these errors were encountered:
There's a logical error in our
clean
function that's causing an Internal Server Error to be thrown when users save events under certain circumstances.To reproduce:
The problem is without an end time set, the
end
variable will be none. While the error will get set properly that causes the error message on the front end, an exception occurs before the function returns because of this line. We need to ensure that theend
variable is notNone
before trying to access any properties on it.The text was updated successfully, but these errors were encountered: