socallinuxexpo / scalereg

Registration software for the Southern California Linux Expo
Other
3 stars 3 forks source link

cash payment allows the creation of attendees without names or email addresses #28

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Login to staff portal
2. Select Cash Payment from services list.
3. Do not fill in any fields, and click register button.

What is the expected output? What do you see instead?

This used to return an error indicating a required field was missing.
Its looks like the django behavior changed during one of the 1.x upgrades.
request.POST now returns an empty string for empty form fields rather than not 
including them in the list at all.

Original issue reported on code.google.com by i...@fonz.net on 14 Aug 2012 at 9:18

GoogleCodeExporter commented 9 years ago
Patch to fix this available at:
http://codereview.appspot.com/6450134

Original comment by i...@fonz.net on 14 Aug 2012 at 9:28

GoogleCodeExporter commented 9 years ago
Duplicate of 27

Original comment by i...@fonz.net on 4 Sep 2012 at 8:19