
formalchemy - issue #93
FieldSet.render() fails when model has a boolean field == True
Running the attached file is raising the following error (tail): /usr/lib/python2.5/compiler/transformer.pyc in parseexpr(self, text) 131 def parseexpr(self, text): 132 """Return a modified parse tree for the given expression text.""" --> 133 return self.transform(parser.expr(text)) 134 135 def parsefile(self, file):
TypeError: expr() argument 1 must be string, not bool
We should get a generated form with the default CheckBoxRenderer. Instead we get an exception when the underlying object's boolean field is True.
v1.2, ubuntu 8.04, python 2.5
original thread: http://groups.google.com/group/formalchemy/browse_thread/thread/f33e4edb131df662
- fa_bug.py 951
Comment #1
Posted on Apr 27, 2009 by Swift Dogfixed in 739-741
Comment #2
Posted on Apr 27, 2009 by Swift Dog(No comment was entered for this change.)
Status: Fixed