Commit 37239325 authored by Jérome Perrin's avatar Jérome Perrin

call getPropertyTranslationDomainDict accessor instead of accessing attribute

directly, because this attribute might not been set

git-svn-id: 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent e7b4b247
......@@ -153,9 +153,10 @@ class TranslationProviderBase:
if properties is None:
properties = REQUEST
for prop_name in self._property_domain_dict.keys():
property_domain_dict = self.getPropertyTranslationDomainDict()
for prop_name in property_domain_dict.keys():
new_domain_name = properties.get(prop_name)
prop_object = self._property_domain_dict[prop_name]
prop_object = property_domain_dict[prop_name]
if new_domain_name != prop_object.getDomainName():
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