Fix an issue with validation where we didn't properly parse dot notation in fields.

This commit is contained in:
Dan 2021-10-26 14:48:06 -04:00
parent 1e1da2292b
commit e0d1f63c08
1 changed files with 2 additions and 1 deletions

View File

@ -288,7 +288,8 @@ class WorkflowService(object):
raise ApiError.from_task(code='serialize_error',
message=f'Something cannot be serialized. Message is: {te}',
task=task)
task.data.update(json.loads(form_data_string))
extracted_form_data = WorkflowService().extract_form_data(json.loads(form_data_string), task)
task.update_data(extracted_form_data)
@staticmethod
def check_field_id(id):