# HG changeset patch # User Sylvain Thénault # Date 1249639940 -7200 # Node ID 6d0acd812d986f2dd11a1f3c3a438ce4e4f8caf3 # Parent 7966d87202d718b65b3d0eba49457d3931d560a9 need to set default value for trcomment_format since it's not an actual field diff -r 7966d87202d7 -r 6d0acd812d98 web/views/workflow.py --- a/web/views/workflow.py Fri Aug 07 12:11:03 2009 +0200 +++ b/web/views/workflow.py Fri Aug 07 12:12:20 2009 +0200 @@ -62,7 +62,8 @@ 'st1': _(state.name), 'st2': _(dest.name)} self.w(u'

%s

\n' % msg) - self.w(form.form_render(state=dest.eid, trcomment=u'')) + self.w(form.form_render(state=dest.eid, trcomment=u'', + trcomment_format=self.req.property_value('ui.default-text-format'))) def redirectpath(self, entity): return entity.rest_path()