Commit 1c9be663 authored by Jérome Perrin's avatar Jérome Perrin

Now that Base_editRelation set the key for the real field, we no longer need to

lookup the key for the hidden subfield (revert 40355)


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@40933 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent ed0b454c
......@@ -130,10 +130,8 @@ class RelationStringFieldValidator(
except IndexError:
# No object was selected
return []
relation_field_id = field.generate_subfield_key("%s" % \
SUB_FIELD_ID, key=key)
value = self.default_validator_instance.validate(field,
relation_field_id, REQUEST)
value = self.default_validator_instance.validate(field, key, REQUEST)
return [(relation_item_id, relation_uid_list, value)]
def _generateFieldValueList(self, field, key,
......
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