Commit 1879c17e authored by Romain Courteaud's avatar Romain Courteaud

Bug fix: dirty patch to make membership_criterion_category_list field working.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@2558 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 17a4567b
......@@ -382,6 +382,11 @@ class MatrixBoxValidator(Validator.Validator):
attribute_value = my_field.get_value('default', cell = cell, cell_index = kw,
cell_position = (i,j, k))
value = my_field.validator.validate(my_field, key, REQUEST)
# XXX Dirty patch, but it was hurry that membership_criterion_category_list field works to generate predicate
if attribute_id == 'membership_criterion_category_list':
value = attribute_value
if attribute_value != value and not my_field.get_value('hidden'):
# Only validate modified values from visible fields
if not result.has_key(kw):
......
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