Commit 629265fd authored by Yusei Tahara's avatar Yusei Tahara

Fix a bug. Variable 'REQUEST' must be available in TALES expression

for the compatibility to relation string field. See
MultiRelationStringField.get_value.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@45154 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 6247015c
...@@ -162,6 +162,7 @@ class TALESValue(StaticValue): ...@@ -162,6 +162,7 @@ class TALESValue(StaticValue):
kw['form'] = form kw['form'] = form
kw['request'] = REQUEST kw['request'] = REQUEST
kw['REQUEST'] = REQUEST # For compatibility to relation string field. See MultiRelationStringField.get_value.
kw['here'] = obj kw['here'] = obj
kw['context'] = obj kw['context'] = obj
kw['modules'] = SecureModuleImporter kw['modules'] = SecureModuleImporter
......
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