Actions
Bug #104811
closed"Compare backend users" fails with outdated "explicit_allowdeny"
Start date:
2024-09-04
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
12
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
Given be_groups.explicit_allowdeny
contains outdated entries (e.g. from packages removed in the meantime), the Compare backend users action in the Backend Users module fails with an exception:
(1/1) #1351584844 TYPO3Fluid\Fluid\Core\ViewHelper\Exception
An argument "key" or "id" has to be provided
This is caused by the preprocessed pageContentTypes
(which are built from said explicit_allowdeny
field) which contain empty items. These empty items come from outdated CE types which do not exist anymore. The f:translate
call in the pageContentTypes
section in the Compare/Information.html
partial then fails here:
- https://github.com/TYPO3/typo3/blob/51a0329cb89230596f99ad9e94fdad6af95a5ead/typo3/sysext/beuser/Classes/Service/UserInformationService.php#L234-L242
- https://github.com/TYPO3/typo3/blob/51a0329cb89230596f99ad9e94fdad6af95a5ead/typo3/sysext/beuser/Resources/Private/Partials/Compare/Information.html#L478
Actions