Project

General

Profile

Actions

Bug #80541

closed

BE FileBrowser didn't work in fluid content element

Added by Mélanie GALVEZ about 7 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Must have
Assignee:
Category:
Backend User Interface
Start date:
2017-03-29
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
8
PHP Version:
7.1
Tags:
Complexity:
medium
Is Regression:
Yes
Sprint Focus:

Description

FileBrowser popup didn't works when clicking on button in fluid content element

The reason is that $className is null in the getElementBrowserInstance method of the file typo3/sysext/recordlist/Classes/Controller/ElementBrowserController.php

To fix it, simply add :

if(empty($className))
{
   $className = 'TYPO3\CMS\Recordlist\Browser\FileBrowser';
}

before this line :

$className = $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['ElementBrowsers'][$this->mode];


Related issues 1 (0 open1 closed)

Has duplicate TYPO3 Core - Bug #80727: $className must be a non empty stringClosed2017-04-06

Actions
Actions

Also available in: Atom PDF