Commit 8a07ed8b authored by Nicolas Dumazet's avatar Nicolas Dumazet

if no value is set on the Acquired Property for portal types, a TUPLE should be returned


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