Opened 12 years ago
Closed 11 years ago
#2842 closed defect (wontfix)
AlwaysMatchesOtherField validator fails if other field not present
Reported by: | dave AT avaragado.org | Owned by: | nobody |
---|---|---|---|
Component: | Validators | Version: | master |
Severity: | normal | Keywords: | |
Cc: | gary.wilson@… | Triage Stage: | Unreviewed |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | UI/UX: |
Description
The AlwaysMatchesOtherField validator tests against all_data[self.other] without first checking for the existence of the key self.other.
If it's not present, you get MultiValueDictKeyError.
Note that this happens even if the other field has is_required=True. See #2841 :-)
Change History (2)
comment:1 Changed 12 years ago by
Cc: | gary.wilson@… added |
---|
comment:2 Changed 11 years ago by
Resolution: | → wontfix |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
Wontfix this one, as it's manipulator-related.