Commit dea5d216 authored by Julien Muchembled's avatar Julien Muchembled

Add note about some getters in ActionInformation

git-svn-id: https://svn.erp5.org/repos/public/erp5/sandbox/portal_types@29554 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 58cc2610
......@@ -120,6 +120,9 @@ class ActionInformation(XMLObject):
value = value and Expression(value) or None
self._baseSetIcon(value)
# XXX Following getAction/getCondition/getIcon are problably not useful
# because properties should already be cleaned up during migration
# or installation from BT.
def getAction(self):
"""Overridden getter for 'action' to clean null values"""
if getattr(aq_base(self), 'action', None) == '':
......
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