#106445Workspace data may not get loaded if no site config is available
Description
Loading records in the workspace backend module may fail with the following error:
(1/1) TypeError TYPO3\CMS\Core\Imaging\IconFactory::getIcon(): Argument #1 ($identifier) must be of type string, null given, called in /var/www/html/typo3_src/typo3/sysext/workspaces/Classes/Service/GridDataService.php on line 208
This can be reproduced by creating a new root page in a workspace. The code fails as it tries to fetch an icon for the “default language” from the site config, which may does not exist at this point.