misc: ignore workflow data will conflict with the "form*" namespace (#49195)
This commit is contained in:
parent
d1b59fe2d5
commit
7169bd0ee9
|
@ -862,8 +862,9 @@ 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
|
||||
for k, v in self.workflow_data.items():
|
||||
if k[0] == '_':
|
||||
if k[0] == '_' or k.startswith('form_') or k == 'form':
|
||||
continue
|
||||
d[k] = v
|
||||
# recompute _url variable of attached files
|
||||
|
|
Loading…
Reference in New Issue