Details
-
Bug
-
Resolution: Fixed
-
Medium
-
5.4.8
-
None
Description
A custom UploadHandler does not get the originial file name of uploaded files.
Please see pull request for details:
https://github.com/ezsystems/ezpublish-legacy/pull/1226/files
Reproduce the issue:
Create your own custom UploadHandler and implement the function 'handleFile'.
Dump the value for $originalFileName in your custom UploadHandler.
Now use a UI feature which is using the eZContentUpload - for example, upload an image on a relationlist attribute.
You'll see that the $originalFileName is the file path and not the File Title you specified in the UI.