#4390 closed (fixed)
cleaned_data can contain non-clean data
| Reported by: | Owned by: | Adrian Holovaty | |
|---|---|---|---|
| Component: | Forms | Version: | dev | 
| Severity: | Keywords: | ||
| Cc: | Triage Stage: | Design decision needed | |
| Has patch: | yes | Needs documentation: | no | 
| Needs tests: | no | Patch needs improvement: | no | 
| Easy pickings: | no | UI/UX: | no | 
Description
The value returned from a form field's clean method is stored in cleaned_data, but this value is not removed if the form's clean_<field> method raises a ValidationError.
Attachments (1)
Change History (4)
by , 18 years ago
comment:1 by , 18 years ago
| Has patch: | set | 
|---|---|
| Triage Stage: | Unreviewed → Design decision needed | 
Please note that this patch would not be needed if #4391 is fixed.
comment:2 by , 18 years ago
| Resolution: | → fixed | 
|---|---|
| Status: | new → closed | 
  Note:
 See   TracTickets
 for help on using tickets.
    
remove data from
cleaned_dataif aValidationErrorwas raised.