Actions
Bug #98687
closedNo page tree displaying in backend: Exception when referenced fe_group in pages, has been deleted
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2022-10-21
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
11
PHP Version:
8.1
Tags:
Complexity:
no-brainer
Is Regression:
Sprint Focus:
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
Actions