Commit 48e3f1bf authored by Jonas Götze's avatar Jonas Götze
Browse files

[WIP][BUGFIX] Prevent (better: hide) empty file reference in event.

Form submits without a file cause a sys_file-reference with an empty sys_file relation. Currently this can not be prevented. But the reference can be decoupled from the event.
parent b5a2c1ba
...@@ -68,6 +68,17 @@ finishers: ...@@ -68,6 +68,17 @@ finishers:
value: '{__currentTimestamp}' value: '{__currentTimestamp}'
uid_foreign: uid_foreign:
value: '{T3oSaveToDatabase.insertedUids.0}' value: '{T3oSaveToDatabase.insertedUids.0}'
table: 'sys_file_reference'
mode: update
uid_foreign: '{T3oSaveToDatabase.insertedUids.0}'
uid_local: 0
value: 0
value: 0
- -
table: sys_category_record_mm table: sys_category_record_mm
mode: insert mode: insert
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment