Commit b094c727 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

output the precise location of the field in log.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@40307 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 84f18800
......@@ -202,8 +202,8 @@ class TALESValue(StaticValue):
# We add this safety exception to make sure we always get
# something reasonable rather than generate plenty of errors
LOG('ERP5Form', PROBLEM,
'Field.get_value ( %s/%s [%s]), exception on tales_expr: ' %
( form.getId(), field.getId(), id), error=sys.exc_info())
'Field.get_value %r [%s], exception on tales_expr: ' %
(field, id), error=sys.exc_info())
# field may be ProxyField
# here we avoid calling field.get_recursive_orig_value
# on all fields because it can be acquired from another
......
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