From e0d1f63c082e9f4e6e3593c45d615afe04f42729 Mon Sep 17 00:00:00 2001 From: Dan Date: Tue, 26 Oct 2021 14:48:06 -0400 Subject: [PATCH] Fix an issue with validation where we didn't properly parse dot notation in fields. --- crc/services/workflow_service.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/crc/services/workflow_service.py b/crc/services/workflow_service.py index b96ac0c9..54150ea2 100755 --- a/crc/services/workflow_service.py +++ b/crc/services/workflow_service.py @@ -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):