Skip to content
Snippets Groups Projects
Commit 2b528832 authored by Marc Bastian Heinrichs's avatar Marc Bastian Heinrichs Committed by Wouter Wolters
Browse files

[BUGFIX] Set internalUploadMap on upload in ExtendedFileUtility

Since introducing FAL the internalUploadMap array in
ExtendedFileUtility was not set on uploading files.

Resolves: #58463
Releases: 6.2, 6.1, 6.0
Change-Id: I4a537a57f1b688c26c20b9f68356a4be67bc5851
Reviewed-on: https://review.typo3.org/29820
Reviewed-by: Sascha Wilking
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
parent dac46664
Branches
Tags
No related merge requests found
......@@ -944,6 +944,7 @@ class ExtendedFileUtility extends \TYPO3\CMS\Core\Utility\File\BasicFileUtility
$this->getIndexer($fileObject->getStorage())->updateIndexEntry($fileObject);
}
$resultObjects[] = $fileObject;
$this->internalUploadMap[$uploadPosition] = $fileObject->getCombinedIdentifier();
$this->writelog(1, 0, 1, 'Uploading file "%s" to "%s"', array($fileInfo['name'], $targetFolderObject->getIdentifier()));
} catch (\TYPO3\CMS\Core\Resource\Exception\UploadException $e) {
$this->writelog(1, 2, 106, 'The upload has failed, no uploaded file found!', '');
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment