Issue Bug Closed

#106445Workspace data may not get loaded if no site config is available

Andreas Kienast 03/27/25, 08:08 updated 12/02/25, 14:21

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

  1. Gerrit Code Review pushed patch set 1 for main to change 88786 status In Progress Under Review 03/27/25, 08:12

  2. Gerrit Code Review pushed patch set 1 for 13.4 to change 88879 04/01/25, 12:51

  3. Gerrit Code Review pushed patch set 1 for 12.4 to change 88880 04/01/25, 12:52

  4. Anonymous commented and changed status Under Review Resolved done 0 % 100 % 04/01/25, 13:20

    Applied in changeset commit:d95b9e5308596a8a9547a93e9cd940137a6009e5.

  5. Benni Mack changed status Resolved Closed 12/02/25, 14:21