Open timoballard opened 6 months ago
@phildominguez-gsa Just now looking at this one. This is solved already through your PR here no? I haven't been able to recreate a 500.
The only thing I am going to tweak is on the zero-state for creating a new access to the SAC, both fields are prepopulated with "None" rather than blank. I am simply going to use an empty string ""
for these fields in the template rather than None
.
Describe the bug
When submitting the form to add or edit submission
Access
, omitting either or both of the fields (New name, New email address) will result in a 500 error response from the server.Here is an example in New Relic
Steps to reproduce the bug
Expected Behavior
In these cases, we should use Django form cleaning/validation to check for the required fields, and, if any are not present, return a descriptive error message that is displayed near the form fields in question
Screenshots
No response
System setup
No response
Additional context
No response
Code of Conduct