Project

General

Profile

Actions

Bug #99328

closed

File list uploader default action not working

Added by Ina Beckmann almost 2 years ago. Updated over 1 year ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Backend User Interface
Target version:
-
Start date:
2022-12-09
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
11
PHP Version:
Tags:
Complexity:
no-brainer
Is Regression:
Sprint Focus:
Stabilization Sprint

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.


Related issues 1 (0 open1 closed)

Is duplicate of TYPO3 Core - Bug #97357: options.file_list.uploader.defaultAction is not working in V11.5Closed2022-04-11

Actions
Actions

Also available in: Atom PDF