Issue Bug Closed

#104811"Compare backend users" fails with outdated "explicit_allowdeny"

Mathias Brodala 09/04/24, 07:22 updated 08/12/25, 14:36

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:

  1. https://github.com/TYPO3/typo3/blob/51a0329cb89230596f99ad9e94fdad6af95a5ead/typo3/sysext/beuser/Classes/Service/UserInformationService.php#L234-L242
  2. https://github.com/TYPO3/typo3/blob/51a0329cb89230596f99ad9e94fdad6af95a5ead/typo3/sysext/beuser/Resources/Private/Partials/Compare/Information.html#L478

Reviews 3