#101 RequireIfMissing error

closed-fixed
nobody
None
5
2011-09-24
2010-05-25
No

I'm using formencode 1.2.2 with python 2.6 (in pylons 0.9.7).

When using the RequireIfMissing validator, the raised error "Invalid" value is a module object (set), and not a dict.
The issue comes from the validators.py file, line 2649, when the Invalid error is raised with the "value" variable and should be raised with "value_dict".

Discussion

  • Christoph Zwerschke

    • status: open --> closed-fixed
     
  • Christoph Zwerschke

    Fixed in <<changeset 43410f5fdc5c>> and <<changeset dc3ba1e67cad>>.

     

Log in to post a comment.