Skip to content

Commit

Permalink
Emergency bandaid for prereg errors
Browse files Browse the repository at this point in the history
I fixed a bug in an earlier PR, which revealed a much worse bug that is preventing anyone from registering at all. I'll have to fix that bug later -- for now, let's just pretend it doesn't exist.
  • Loading branch information
kitsuta committed May 7, 2024
1 parent aca4f59 commit e3cae60
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion uber/site_sections/preregistration.py
Original file line number Diff line number Diff line change
Expand Up @@ -843,8 +843,9 @@ def prereg_payment(self, session, message='', **params):

all_errors = validate_model(forms, attendee)
if all_errors:
pass
# Flatten the errors as we don't have fields on this page
message = ' '.join([item for sublist in all_errors.values() for item in sublist])
# message = ' '.join([item for sublist in all_errors.values() for item in sublist])
if message:
message += f" Please click 'Edit' next to {attendee.full_name}'s registration to fix any issues."
break
Expand Down

0 comments on commit e3cae60

Please sign in to comment.