Issue Bug Closed

#80541BE FileBrowser didn't work in fluid content element

Mélanie GALVEZ 03/29/17, 10:41 updated 10/02/18, 11:00

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];

Reviews 2