#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.
Reviews 3
History 25
-
Gerrit Code Review pushed patch set 1 for main to change 88786 status
In ProgressUnder Review 03/27/25, 08:12 -
Gerrit Code Review pushed patch set 1 for 13.4 to change 88879 04/01/25, 12:51
-
Gerrit Code Review pushed patch set 1 for 12.4 to change 88880 04/01/25, 12:52
-
Anonymous commented and changed status
Under ReviewResolved done0 %100 % 04/01/25, 13:20 -
Benni Mack changed status
ResolvedClosed 12/02/25, 14:21
Applied in changeset commit:d95b9e5308596a8a9547a93e9cd940137a6009e5.