Issue Bug Closed

#72978recordlist: DatabaseRecordList tries to add paset button although clipboard controls disabled

Christian Weiske 01/28/16, 08:09 updated 10/02/18, 11:20

Description

I’m using TYPO3\CMS\Recordlist\RecordList\DatabaseRecordList in my own extension and do not need the clipboard, thus I disabled them with

$dblist->dontShowClipControlPanels = true;
$dblist->showClipboard = false;

I also do not set $dblist->clipObj – since I don’t need the clipboard.

Unfortunately, getDocHeaderButtons() tries to access this object even though clipboard is disabled.

Reviews 2