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
I'm trying to customize the way the file name gets created on disk and what is stored in the DB. After some research I figured out that most of this is happening in the FileAdder. But it doesn't look like it can be replaced because The FileAdderFactory is requesting a concrete implementation from the container and there is no FileAdderInterface I could wire up.
What I would like to get done is that the filename becomes <uuid>.<extension> and the original filename is preserved in the database. By the way, why is the "name" field missing the file extension?
If there is any other central way of doing this? I would appreciate that as well. :)
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I'm trying to customize the way the file name gets created on disk and what is stored in the DB. After some research I figured out that most of this is happening in the FileAdder. But it doesn't look like it can be replaced because The FileAdderFactory is requesting a concrete implementation from the container and there is no FileAdderInterface I could wire up.
What I would like to get done is that the filename becomes
<uuid>.<extension>
and the original filename is preserved in the database. By the way, why is the "name" field missing the file extension?If there is any other central way of doing this? I would appreciate that as well. :)
Beta Was this translation helpful? Give feedback.
All reactions