fabarea / media_upload

(Mass) upload Media on the Frontend - TYPO3 CMS extension
Other
19 stars 23 forks source link

uploaded-files not found #21

Closed sunfish closed 7 years ago

sunfish commented 7 years ago

Hi, UploadFileService->sanitizeFileNameAndPath() wants to explode "UploadManager::UPLOAD_FOLDER" from $uploadedFileName. But media_upload/Resources/Private/Assets/JavaScript/MediaUpload.js removes the UPLOAD_FOLDER part from the filePath. var basename = uri.replace("/typo3temp/MediaUpload/", ""); uploadedFiles.push(basename);

So $sanitizedFileNameAndPath is empty, because count($pathSegments) will not be 2.

fabarea commented 7 years ago

Not the only case apparently. For reference:

image