Commit 87f34717 authored by Arnaud Fontaine's avatar Arnaud Fontaine

exportToFilesystemDefinition returns None if the reference is None,

thus add a check in AcquiredProperty



git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@43650 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent a60c0ef7
......@@ -130,6 +130,9 @@ class AcquiredProperty(StandardProperty):
filesystem_property_dict = \
StandardProperty.exportToFilesystemDefinition(self)
if filesystem_property_dict is None:
return None
acquisition_portal_type_value = self._getExpressionFromString(
self.getAcquisitionPortalType())
......
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