[BUGFIX] Set internalUploadMap on upload in ExtendedFileUtility
[Packages/TYPO3.CMS.git] / typo3 / sysext / core / Classes / Utility / File / ExtendedFileUtility.php
index dc11cdf..269a237 100644 (file)
@@ -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!', '');