-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] sys_file_reference:uid_local remains zero (0) #17
Comments
Okay, the first thing with the SaveToFileMount works with v11.0.8 |
BastianBalthasarBux
changed the title
[BUG] Breaks some functionalities of original Form
[BUG] sys_file_reference:uid_local remains zero (0)
Feb 29, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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: