Issue Bug Closed

#98687No page tree displaying in backend: Exception when referenced fe_group in pages, has been deleted

Armin Vieweg 10/21/22, 10:14 updated 02/14/23, 07:18

Description

The following line in BackendUtility may return null, if the fe_group referenced in a page has been deleted:
https://github.com/TYPO3/typo3/blob/main/typo3/sysext/backend/Classes/Utility/BackendUtility.php#L1181

This occure an PHP Exception (Warning) in Debug mode and the page tree is not loaded anymore,
when such a page should get displayed.

To reconstruct:
1. Create a fe_group
2. Set this fe_group to a page
3. Delete fe_group (deleted=1)
4. Reload the page tree in backend (which must display the page)

Tested with 11.5.17 on PHP 8.1

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.