pombreda / formalchemy

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

Default validation in deserialize appends ValidationError instead of its message #145

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
FA 1.3.4
in fields.py, line 941 reads 

    self.errors.append(e)

this causes a ValidationError object to be appended. This causes the template 
render to throw an error.
This line should read:

   self.errors.append(e.message)

like in lines 953 and 959

Original issue reported on code.google.com by marcofal...@gmail.com on 16 Sep 2010 at 12:56

GoogleCodeExporter commented 9 years ago
fixed. thanks

Original comment by gael.pas...@gmail.com on 5 Oct 2010 at 12:33