During validation, options were not being handled correctly for certain types of lookups.
This commit is contained in:
parent
8e2e3519f6
commit
7b02f46403
|
@ -35,7 +35,7 @@ logging_config = {
|
|||
"formatter": "simple",
|
||||
"class": "logging.StreamHandler",
|
||||
"stream": "ext://sys.stdout",
|
||||
"level": "DEBUG"
|
||||
"level": "INFO"
|
||||
},
|
||||
"file": {
|
||||
"level": "INFO",
|
||||
|
|
|
@ -792,7 +792,7 @@ class WorkflowService(object):
|
|||
if not hasattr(field, 'options'):
|
||||
field.options = []
|
||||
for d in data:
|
||||
field.options.append({"id": d.value, "name": d.label, "data": d.data})
|
||||
field.add_option(d.value, d.label)
|
||||
elif field.has_property(Task.FIELD_PROP_DATA_NAME):
|
||||
field.options = WorkflowService.get_options_from_task_data(spiff_task, field)
|
||||
|
||||
|
|
Loading…
Reference in New Issue