Opened 17 years ago

Closed 17 years ago

#4391 closed (invalid)

data should not be stored in cleaned_data until it is fully cleaned

Reported by: Gary Wilson <gary.wilson@…> 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 Gary Wilson <gary.wilson@…>, 17 years ago

Triage Stage: UnreviewedDesign decision needed

comment:2 by Malcolm Tredinnick, 17 years ago

Resolution: invalid
Status: newclosed

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.

Note: See TracTickets for help on using tickets.
Back to Top