#99328File list uploader default action not working
Description
The user tsconfig setting “options.file_list.uploader.defaultAction” does not work because of a simple php-typo in “sysext/filelist/Classes/Controller/FileListController.php”.
At the end of the function “registerDrapUploader()” the variable assignment looks like this:
$this->view->assign('drapUploader', [
'fileDenyPattern' => $GLOBALS['TYPO3_CONF_VARS']['BE']['fileDenyPattern'] ?? null,
'maxFileSize' => GeneralUtility::getMaxUploadFileSize() * 1024,
'defaultDuplicationBehaviourAction', $this->getDefaultDuplicationBehaviourAction(),
]);
There is a falsy comma after ‘defaultDuplicationBehaviourAction’ and the value does not get assigned to the variable.
Reviews 1
History 4
-
Ina Beckmann changed subject
File list uploader default actionFile list uploader default action not working 12/09/22, 16:02 -
Benni Mack changed Sprint Focus Stabilization Sprint 06/06/23, 13:11
-
Annett Jähnichen changed Duplicates #97357 07/06/23, 20:11
-
Annett Jähnichen commented and changed status
NewClosed 07/06/23, 20:15
Hello Ina,
this issue should be fixed in https://review.typo3.org/c/Packages/TYPO3.CMS/+/76744