Remove None reviewers from validation
This was caused by an issue where the "---" (None) reviewers were causing the validation to fail, meaning that you had to fill out n-1 reviewers in the submission page in order for the save to go through. The solution was to only check for duplicates with reviewers that were selected. Issue ots/clients/smex/hypha-tracker#2: Can't assign Staff as reviewers of applications
Loading
-
@frankduncan This catches the problem in class
UpdateReviewersForm
, but I think the same problem exists in classBatchUpdateReviewersForm
later in the file? (Line 399 ofhypha/apply/funds/forms.py
in upstream as of commit 4ed9e567, but I think line 429 in the version of the file here.)/CC @jimmcgowan -- Jim, this is the thing I mentioned today when we were talking.
-
mentioned in commit faf276bd
-
mentioned in commit 68d331fc
Please register or sign in to comment