Skip to content

Commit

Permalink
The warning holds
Browse files Browse the repository at this point in the history
  • Loading branch information
jean committed Dec 5, 2013
1 parent b5b12c2 commit 265506e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Products/CMFPlomino/fields/base.py
Expand Up @@ -114,6 +114,8 @@ def getFieldValue(self, form, doc=None, editmode_obsolete=False,
#DBG _logger.info('BaseField.getFieldValue> 1 got doc')

if (not fieldValue) and self.context.Formula():
# This implies that if a falsy fieldValue is possible,
# Formula needs to take it into account, e.g. using hasItem
fieldValue = form.computeFieldValue(fieldName, target)
#DBG _logger.info('BaseField.getFieldValue> 2 default formula')
elif (not fieldValue) and request:
Expand Down

0 comments on commit 265506e

Please sign in to comment.