pombreda / formalchemy

Automatically exported from code.google.com/p/formalchemy
MIT License
0 stars 0 forks source link

The validators don't have a clue of it's context, thus disallow passwords comparisons validation. #83

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
We would need to receive at least the field which is being validated as a
parameter to validators. That would allow to go up to the parent fieldset
and compare with another field if required.

Original issue reported on code.google.com by wackysa...@gmail.com on 29 Mar 2009 at 3:51

GoogleCodeExporter commented 9 years ago
Here's a patch to fix this.

Original comment by wackysa...@gmail.com on 29 Mar 2009 at 4:11

Attachments:

GoogleCodeExporter commented 9 years ago
Here is my commit log:

Author: Alexandre Bourget <alex@bourget.cc>  2009-03-29 00:10:41
Committer: Alexandre Bourget <alex@bourget.cc>  2009-03-29 00:10:41
Parent: 78465a3f00f892bdd17e7eace9cb45b2425139f7 (exclude dynamic loaders from
fields.  fixes #81)
Child:  10ca36a3b35a7b9799dd63bffe3db7cbb7c8ce74 (Make sure we can call 
.configure()
multiple times, with consistent and predictable results.)
Branch: master
Follows: 
Precedes: 

    Fix issue #83 - Pass a context to validators to allow multi-field validation

Original comment by wackysa...@gmail.com on 29 Mar 2009 at 5:45

GoogleCodeExporter commented 9 years ago
applied with backward compat support

Original comment by gael.pas...@gmail.com on 30 Mar 2009 at 12:43