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
For some mysterious reason StudyDesignForm's clean() does not get called during instantiation in get_form_errors(). Other forms do not have this issue. This form's full_clean() does get called during validation for some reason.
It is very unlikely that a user tries to submit with errors on this form (They would have to try to have a study with no intervention, no observation and no sessions), so it is not the end of the world in practice ... But it is very annoying.
Maybe this goes away when we switch to a new method of validation, but maybe not ...
The text was updated successfully, but these errors were encountered:
For some mysterious reason StudyDesignForm's
clean()
does not get called during instantiation inget_form_errors()
. Other forms do not have this issue. This form'sfull_clean()
does get called during validation for some reason.It is very unlikely that a user tries to submit with errors on this form (They would have to try to have a study with no intervention, no observation and no sessions), so it is not the end of the world in practice ... But it is very annoying.
Maybe this goes away when we switch to a new method of validation, but maybe not ...
The text was updated successfully, but these errors were encountered: