From 8ded625c7dbe15b550fe34ecf9c3367b447cd3dd Mon Sep 17 00:00:00 2001 From: Dan Funk Date: Wed, 6 May 2020 11:46:19 -0400 Subject: [PATCH] Merge remote-tracking branch 'origin/chore/update_specs' into feature/previous_task # Conflicts: # Pipfile.lock Assuring that all documents from the xls spreadsheet are loaded when doing validations. Fixing some failed tests. --- crc/services/workflow_service.py | 2 ++ .../irb_api_personnel/irb_api_personnel.bpmn | 28 +++++++++---------- 2 files changed, 16 insertions(+), 14 deletions(-) diff --git a/crc/services/workflow_service.py b/crc/services/workflow_service.py index c8bfa1c6..d06576bc 100644 --- a/crc/services/workflow_service.py +++ b/crc/services/workflow_service.py @@ -141,6 +141,8 @@ class WorkflowService(object): template = Template(raw_doc) return template.render(**spiff_task.data) except jinja2.exceptions.TemplateError as ue: + +# return "Error processing template. %s" % ue.message raise ApiError(code="template_error", message="Error processing template for task %s: %s" % (spiff_task.task_spec.name, str(ue)), status_code=500) # TODO: Catch additional errors and report back. diff --git a/crc/static/bpmn/irb_api_personnel/irb_api_personnel.bpmn b/crc/static/bpmn/irb_api_personnel/irb_api_personnel.bpmn index c2076216..ba522b78 100644 --- a/crc/static/bpmn/irb_api_personnel/irb_api_personnel.bpmn +++ b/crc/static/bpmn/irb_api_personnel/irb_api_personnel.bpmn @@ -1,5 +1,5 @@ - + Flow_0kcrx5l @@ -34,7 +34,7 @@ Flow_1dcsioh Flow_1mplloa - + @@ -43,28 +43,28 @@ - - + + - - + + - - + + - + - - - - + - + + + +