Commit 19066da6 authored by Romain Courteaud's avatar Romain Courteaud

When a parameter is not delegated, check that the value is defined on the...

When a parameter is not delegated, check that the value is defined on the proxy field (and not only in TALES), because there is no default value for the parameter on a proxy field.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@12712 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent be9e6764
......@@ -373,7 +373,8 @@ class ProxyField(ZMIField):
"""
if include and \
((id in self.widget.property_names) or \
not self.is_delegated(id)):
((not self.is_delegated(id)) and \
(self.values.has_key(id)))):
return self.get_orig_value(id)
else:
proxied_field = self.getTemplateField()
......
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