formdata: only ignore form_var_* from workflow data (#49463)
This commit is contained in:
parent
4a71b02611
commit
427c28d6b2
|
@ -862,9 +862,10 @@ class FormData(StorableObject):
|
|||
# pass over workflow data to:
|
||||
# - attach an extra url attribute to uploaded files
|
||||
# - ignore "private" attributes
|
||||
# - ignore attributes that will conflict with the "form*" namespace
|
||||
# - ignore attributes that will conflict with (parts of) the
|
||||
# "form" namespace
|
||||
for k, v in self.workflow_data.items():
|
||||
if k[0] == '_' or k.startswith('form_') or k == 'form':
|
||||
if k[0] == '_' or k.startswith('form_var_') or k == 'form':
|
||||
continue
|
||||
d[k] = v
|
||||
# recompute _url variable of attached files
|
||||
|
|
Loading…
Reference in New Issue