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

StudyDesignForm does not get clean()'ed during validation. #691

Open
EdoStorm96 opened this issue Sep 3, 2024 · 0 comments
Open

StudyDesignForm does not get clean()'ed during validation. #691

EdoStorm96 opened this issue Sep 3, 2024 · 0 comments

Comments

@EdoStorm96
Copy link
Contributor

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 ...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant