Commit e1adaf3e authored by Arnaud Fontaine's avatar Arnaud Fontaine

Even if getAcquisitionPortalType() return None, it should not be an

issue as _getDefaultAcquiredProperty() already takes care of such case
as per r42852 (consistent with its default value in parameters) and
getContentPortalType() would fail anyway if no portal type is given


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@42892 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent c2aa5879
......@@ -131,10 +131,10 @@ class AcquiredProperty(StandardProperty):
StandardProperty.exportToFilesystemDefinition(self)
acquisition_portal_type_value = self._convertValueToTalesExpression(
self.getAcquisitionPortalType()) or ()
self.getAcquisitionPortalType())
portal_type_value = self._convertValueToTalesExpression(
self.getContentPortalType()) or ()
self.getContentPortalType())
filesystem_property_dict.update(
{'acquisition_base_category': self.getAcquisitionBaseCategoryList(),
......
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