Closed GoogleCodeExporter closed 9 years ago
Original comment by gael.pas...@gmail.com
on 22 Feb 2010 at 2:08
It also happens on normal forms...
Original comment by mybb...@googlemail.com
on 22 Feb 2010 at 2:13
FYI the problem occur because Interval has no default renderer.
Something like:
FieldSet.default_renderers[Interval] = IntegerFieldRebderer
should fix the problem.
Btw, I'll try to add a cleaner Interval renderer.
Original comment by gael.pas...@gmail.com
on 22 Feb 2010 at 2:15
Added
Original comment by gael.pas...@gmail.com
on 28 Feb 2010 at 12:17
Now I get this error when I use the pylons admin controller:
File 'XXX/site-packages/FormAlchemy-1.3.2-py2.6.egg/formalchemy/ext/pylons/
controller.py', line 346 in update
if fs.validate():
File 'XXX/site-packages/FormAlchemy-1.3.2-py2.6.egg/formalchemy/forms.py', line
176
in validate
return AbstractFieldSet.validate(self)
File 'XXX/site-packages/FormAlchemy-1.3.2-py2.6.egg/formalchemy/forms.py', line
105
in validate
success = field._validate() and success
File 'XXX/site-packages/FormAlchemy-1.3.2-py2.6.egg/formalchemy/fields.py',
line 787
in _validate
value = self._deserialize()
File 'XXX/site-packages/FormAlchemy-1.3.2-py2.6.egg/formalchemy/fields.py',
line
1397 in _deserialize
return self.renderer.deserialize()
File 'XXX/site-packages/FormAlchemy-1.3.2-py2.6.egg/formalchemy/fields.py',
line 196
in deserialize
return self._deserialize(self._serialized_value())
TypeError: _deserialize() takes exactly 1 argument (2 given)
Original comment by mybb...@googlemail.com
on 4 Mar 2010 at 4:17
fixed
Original comment by gael.pas...@gmail.com
on 12 Mar 2010 at 6:47
Thank you, it seams correct now. :)
Original comment by mybb...@googlemail.com
on 13 Mar 2010 at 3:08
Original issue reported on code.google.com by
mybb...@googlemail.com
on 20 Feb 2010 at 12:38