Account registration form should not crash when missing a element
Bug #130182 reported by
Diogo Matsubara
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Invalid
|
Low
|
Unassigned |
Bug Description
While registering a new account, the form was submitted without the hide_email_
KeyError: 'hide_email_
We should raise an UnexpectedFormData in cases like this.
affects: | launchpad-registry → launchpad-foundations |
Changed in launchpad-foundations: | |
milestone: | 10.03 → 10.04 |
Changed in launchpad-foundations: | |
assignee: | Guilherme Salgado (salgado) → nobody |
status: | Triaged → Invalid |
To post a comment you must log in.
The schema should define a default, or validate() should verify the data[] keys before the action's success is entered.