Opened 18 years ago
Closed 18 years ago
#4391 closed (invalid)
data should not be stored in cleaned_data until it is fully cleaned
| Reported by: | Owned by: | Adrian Holovaty | |
|---|---|---|---|
| Component: | Forms | Version: | dev | 
| Severity: | Keywords: | ||
| Cc: | Triage Stage: | Design decision needed | |
| Has patch: | no | Needs documentation: | no | 
| Needs tests: | no | Patch needs improvement: | no | 
| Easy pickings: | no | UI/UX: | no | 
Description
Currently, the value returned from a field's clean method is stored in cleaned_data even though it hasn't passed through clean_<field> yet.
If #3896 is implemented, the fix for this is simple.
Change History (2)
comment:1 by , 18 years ago
| Triage Stage: | Unreviewed → Design decision needed | 
|---|
comment:2 by , 18 years ago
| Resolution: | → invalid | 
|---|---|
| Status: | new → closed | 
  Note:
 See   TracTickets
 for help on using tickets.
    
This isn't really a bug. It's an internal implementation detail, since we immediately call the fieldname-specific clean method afterwards. Fixing #4390 fixes the root cause here.