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

History 423

  1. Gerrit Code Review pushed patch set 1 for main to change 85863 status New Under Review 09/04/24, 07:28

  2. Gerrit Code Review pushed patch set 2 for main to change 85863 09/09/24, 17:11

  3. Gerrit Code Review pushed patch set 3 for main to change 85863 09/09/24, 17:13

  4. Gerrit Code Review pushed patch set 4 for main to change 85863 09/10/24, 06:47

  5. Gerrit Code Review pushed patch set 5 for main to change 85863 09/10/24, 06:48

  6. Gerrit Code Review pushed patch set 6 for main to change 85863 10/18/24, 14:01

  7. Masod Mohmand commented 10/30/24, 14:57

    I can confirm this.

  8. Gerrit Code Review pushed patch set 7 for main to change 85863 10/30/24, 16:05

  9. Gerrit Code Review pushed patch set 8 for main to change 85863 10/31/24, 08:45

  10. Gerrit Code Review pushed patch set 1 for 13.4 to change 86855 10/31/24, 09:56

  11. Gerrit Code Review pushed patch set 1 for 12.4 to change 86856 10/31/24, 09:56

  12. Gerrit Code Review pushed patch set 2 for 12.4 to change 86856 10/31/24, 10:08

  13. Gerrit Code Review pushed patch set 9 for main to change 85863 10/31/24, 10:54

  14. Gerrit Code Review pushed patch set 10 for main to change 85863 10/31/24, 11:10

  15. Garvin Hicking changed Related to #105282 10/31/24, 11:10

  16. Gerrit Code Review pushed patch set 2 for 13.4 to change 86855 10/31/24, 11:11

  17. Gerrit Code Review pushed patch set 3 for 12.4 to change 86856 10/31/24, 11:22

  18. Gerrit Code Review pushed patch set 4 for 12.4 to change 86856 10/31/24, 11:38

  19. Gerrit Code Review pushed patch set 3 for 13.4 to change 86855 11/05/24, 09:08

  20. Gerrit Code Review pushed patch set 11 for main to change 85863 11/05/24, 09:10

  21. Gerrit Code Review pushed patch set 4 for 13.4 to change 86855 11/05/24, 09:12

  22. Mathias Brodala commented and changed status Under Review Resolved done 0 % 100 % 11/05/24, 09:20

    Applied in changeset commit:edd03d462ea3cb26d6e70c9fbc1dd00ef6c0ec0e.

  23. Benni Mack changed status Resolved Closed 08/12/25, 14:36