Commit 16a4284c authored by Jérome Perrin's avatar Jérome Perrin

add traceback information in Field_render_helper



git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@9697 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 954d985a
......@@ -80,6 +80,7 @@ def Field_validate_sub_field(self, id, REQUEST, key=None):
def Field_render_helper(self, key, value, REQUEST):
value = self._get_default(key, value, REQUEST)
__traceback_info__ = ('key=%s value=%r' % (key, value))
if self.get_value('hidden'):
return self.widget.render_hidden(self, key, value, REQUEST)
elif (not self.get_value('editable',REQUEST=REQUEST)):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment