Issue Bug Closed

#82953Page Module throws errors after creating translation in a stage workspace

Daniel Hinderink 11/08/17, 16:09 updated 04/23/19, 07:41

Description

Steps to reproduce

1. Create a workspace.
2. Create a new translation of a page within a workspace.
3. Change to live workspace.
4. Try to access the page where the new translation has been added in the page module.

Result

Page can not be loaded in the page module. Responds with an error message.

Error Message:
“Uncaught TYPO3 Exception: Argument 2 passed to TYPO3\CMS\Core\Imaging\IconFactory::getIconForRecord() must be of the type array, boolean given”

Affected Versions
8.7.0-8.7.8.

Solution:
./sysext/backend/Classes/Controller/PageLayoutController.php
Line 388

$queryBuilder->expr()->gte(
must be
$queryBuilder->expr()->lte(

Please find a patch solving the problem attached.

Reviews 2