Project

General

Profile

Actions

Bug #104811

closed

"Compare backend users" fails with outdated "explicit_allowdeny"

Added by Mathias Brodala 2 months ago. Updated 8 days ago.

Status:
Resolved
Priority:
Should have
Category:
-
Target version:
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:

  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

Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #105282: Missing debug information in compare viewClosedOliver Bartsch2024-10-11

Actions
Actions

Also available in: Atom PDF