Opened 18 years ago
Closed 17 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: | dev |
Severity: | normal | Keywords: | |
Cc: | gary.wilson@… | Triage Stage: | Unreviewed |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
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 by , 18 years ago
Cc: | added |
---|
comment:2 by , 17 years ago
Resolution: | → wontfix |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
Wontfix this one, as it's manipulator-related.