Issue Bug Closed

#107468Exception when visiting page layout with a selected language that does not exist on the selected page

Kevin Ditscheid 09/17/25, 09:21 updated 03/31/26, 09:00

Description

When selecting a non-default language to show in the page layout module and then visiting a page, that does not have the selected language, the PageLayoutController breaks in the method makeEdutButton, because at line 642, the method getLocalizedPageRecord can return NULL, but $pageUid = $overlayRecord[‘uid’]; is not accounting for that.

https://github.com/TYPO3/typo3/blob/13.4/typo3/sysext/backend/Classes/Controller/PageLayoutController.php#L642

Reviews 1