Menu

#35 chained_validators don't run in 1.0

closed-fixed
nobody
None
5
2008-03-26
2008-03-25
No

It appears that Schema.chained_validators are not executed in FormEncode-1.0. Looking at the code, _to_python does not use chained_validator except for validate_partial.

The attached patch puts back in the missing code from version 0.9 which worked.

Discussion

  • Petter Urkedal

    Petter Urkedal - 2008-03-25

    Patch for running chained_validators in Schema._to_python (fixed)

     
  • Petter Urkedal

    Petter Urkedal - 2008-03-25

    Logged In: YES
    user_id=401996
    Originator: YES

    Fixed cut-and-paste error in original patch.
    File Added: formencode-1.0-chained_validators.patch

     
  • Ian Bicking

    Ian Bicking - 2008-03-26
    • status: open --> closed-fixed
     
  • Ian Bicking

    Ian Bicking - 2008-03-26

    Logged In: YES
    user_id=210337
    Originator: NO

    Yikes, not sure how that happened. Applied in 3357, thanks.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.