#103 validate_partial getting raw values

closed-invalid
nobody
None
5
2012-06-16
2010-06-09
Yoann Roman
No

Reported this on the list on 12/16/09, but I never got an official response:

Schema is handing off the raw value_dict to validate_partial in chained validators instead of the partially processed form fields. I narrowed this down to line 185 of schema.py, Attached is the suggested patch.

Discussion

  • Yoann Roman
    Yoann Roman
    2010-06-09

    Patch for schema.py

     
    Attachments
  • validate_partial gets raw values by definition. validate_partial, must get all values and the new dictionary may be missing some values due to errors. All chained_validators get run on the case of no errors.

     
    • status: open --> closed-invalid