Issue Bug Closed

#85917Exception in Template Module when having sys_template records in workspaces

Sebastian Michaelsen 08/21/18, 13:00 updated 10/02/18, 10:30

Description

Updating our TYPO3 installation to 8.7.19 broke the Template module.

Argument 2 passed to TYPO3\CMS\Core\Imaging\IconFactory::getIconForRecord() must be of the type array, null given, called in /[snip]/vendor/typo3/cms/typo3/sysext/tstemplate/Classes/Controller/TypoScriptTemplateModuleController.php on line 602 

This error occurs when you have sys_template records with pid = -1 (i.e. you’re using workspaces).

Reviews 2