You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While sending files as attachments works like a charm, two other things seem broken.
[concerned versions: the latest on TER and also the latest on github, both being installed in a TYPO3 v11]
I think, these two things are very tightly connected to each other, thus only make one ticket.
The file gets uploaded, but the setting saveToFileMount is completely ignored.
Thus it's always stored in 1:/user_upload/ ... then some folder name "form_%hash"" ...
____EDIT: above problem is resolved with v11.0.8
Remaining problem:
The SaveToDatabase Finisher for file references is broken.
When using the finisher like described in the official docu, it works like a charm without form_extended.
With this ext, the uid_local of sys_file_reference is always just '0' (zero), which breaks the connection between sys_file_reference and sys_file.
Thus I end up in having a broken file reference in DB.
Summary:
sys_file gets filled with correct data
my db-field gets filled with correct uid
sys_file_reference gets filled with corret data, but missing value for uid_local
Okay, the first thing with the SaveToFileMount works with v11.0.8
But I still struggle with the uid_local file reference.
BastianBalthasarBux
changed the title
[BUG] Breaks some functionalities of original Form
[BUG] sys_file_reference:uid_local remains zero (0)
Feb 29, 2024
While sending files as attachments works like a charm, two other things seem broken.
[concerned versions: the latest on TER and also the latest on github, both being installed in a TYPO3 v11]
I think, these two things are very tightly connected to each other, thus only make one ticket.
The file gets uploaded, but the setting saveToFileMount is completely ignored.
Thus it's always stored in 1:/user_upload/ ... then some folder name "form_%hash"" ...
____EDIT: above problem is resolved with v11.0.8
Remaining problem:
The SaveToDatabase Finisher for file references is broken.
When using the finisher like described in the official docu, it works like a charm without form_extended.
With this ext, the uid_local of sys_file_reference is always just '0' (zero), which breaks the connection between sys_file_reference and sys_file.
Thus I end up in having a broken file reference in DB.
Summary:
I am not sure, but the error might occur in
https://github.com/WapplerSystems/form_extended/blob/release/v11/Classes/Mvc/Property/TypeConverter/UploadedFileReferenceConverter.php
Would be nice to get some info on how to fix.
Here is an example DatabaseFinisher:
https://typo3.slack.com/archives/C093RB4P9/p1698913292146829
The text was updated successfully, but these errors were encountered: