Describe the bug
When you attempt to save a new affiliation, and have GCEP or VCEP selected as the type, if curation panel ID is not provided, the website crashes and below screenshotted error is displayed. This also occurs if you attempt to save a new affiliation and a required field (affiliation ID or full name) are not provided.
To Reproduce
Steps to reproduce the behavior:
Go to add a new affiliation.
Immediately hit save without adding any additional values.
or
Go to add a new affiliation.
Select "Variant Curation Expert Panel" or "Gene Curation Expert Panel" for type.
Provide valid Affiliation ID and Full Name.
Do not provide curation panel ID.
hit save.
Expected behavior
The expected behavior is for the respective validation message to display on the screen so that the user can fix the issue and then save.
Screenshots
Error message:
Desktop (please complete the following information):
Describe the bug When you attempt to save a new affiliation, and have GCEP or VCEP selected as the type, if curation panel ID is not provided, the website crashes and below screenshotted error is displayed. This also occurs if you attempt to save a new affiliation and a required field (affiliation ID or full name) are not provided.
To Reproduce Steps to reproduce the behavior:
Expected behavior The expected behavior is for the respective validation message to display on the screen so that the user can fix the issue and then save.
Screenshots Error message:
Desktop (please complete the following information):