Commit 20a07e46 authored by Julien Muchembled's avatar Julien Muchembled

Oops. [27255] already fixed the use of external validators in listbox cells

Revert [31533] partially.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@31534 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 53384d99
...@@ -2703,7 +2703,7 @@ class ListBoxValidator(Validator.Validator): ...@@ -2703,7 +2703,7 @@ class ListBoxValidator(Validator.Validator):
error_result_key = '%s_%s' % (my_field.id, o.uid) error_result_key = '%s_%s' % (my_field.id, o.uid)
key = 'field_' + error_result_key key = 'field_' + error_result_key
try: try:
value = my_field._validate_helper(key, REQUEST) # We need cell value = my_field.validator.validate(my_field, key, REQUEST) # We need cell
error_result[error_result_key] = value error_result[error_result_key] = value
if not result.has_key(o.getUrl()): if not result.has_key(o.getUrl()):
result[o.getUrl()] = {} result[o.getUrl()] = {}
......
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