Project

General

Profile

Actions

Bug #98206

closed

View details link in backend user module broken

Added by Bernhard Eckl over 1 year ago. Updated 9 months ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Backend User Interface
Target version:
-
Start date:
2022-08-25
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
10
PHP Version:
7.4
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

If I click on the show details link of a backend user in the backend user module an error message appears:
(1/1) #1351584844 TYPO3Fluid\Fluid\Core\ViewHelper\Exception
An argument "key" or "id" has to be provided
in /var/www/typo3/typo3_src-10.4.31/typo3/sysext/fluid/Classes/ViewHelpers/TranslateViewHelper.php line 148

It seems that there is a translate viewhelper without key or id. I didn’t find it in the core templates.


Files

userinfo.png (19.9 KB) userinfo.png Bernhard Eckl, 2022-08-26 08:46
userinfo-error.png (185 KB) userinfo-error.png Bernhard Eckl, 2022-08-26 08:46
backenduser.png (38.6 KB) backenduser.png Chris Müller, 2022-08-26 15:53
Actions #1

Updated by Chris Müller over 1 year ago

I assume, you mean the "Display information" (i) button in the list view. I cannot confirm this on a TYPO3 v10.4.31. Maybe it is from an extension? Then deactivate all extensions and try it again. If it works then, enable extension by extension, and try again.

Actions #2

Updated by Oliver Hader over 1 year ago

  • Status changed from New to Needs Feedback
Actions #3

Updated by Oliver Hader over 1 year ago

Can you please provide a screenshot? Thanks in advance!

Updated by Bernhard Eckl over 1 year ago

I deactivated several extensions with no change (especially ig_ldap_sso_auth). If an extension could really be the problem I will try again deactivating all extensions.

I found out with one user (username cli, needed in older versions and still not deleted) the error does not occur. On all other users the error message appears.

Attached you can find some screenshots. It is the button left from the “i” button.

It’s (still) a non composer installation.

Actions #5

Updated by Chris Müller over 1 year ago

Ah, okay, another button. But I cannot confirm this either, the page is displayed correctly. But I have mostly a clean installation, most of the settings are empty. Maybe, one of them has the problem. That's why the cli user may be displayed correctly on your installation. Perhaps add a new user without access assignments and add these one by one, to see which section gives the error.

Actions #6

Updated by Chris Müller over 1 year ago

I also tried it on a production v11.5.13 installation, every section (exception is Category Mounts which is not used) is displayed correctly with information. So, when this is an error in Core, it seems to be only in v10.

Actions #7

Updated by Bernhard Eckl over 1 year ago

I found out the problem. I modified the partial /typo3/sysext/beuser/Resources/Private/Partials/Compare/Information.html and inserted an if condition in line 222 (section nonExcludeFields):

<f:if condition="{label}"><f:then> {f:translate(key:label)}
</f:then><f:else>
Missing key for field: [{field}]
</f:else></f:if>

And the missing key label is: tx_yoastseo_cornerstone. So a label is missing in the yoast_seo extension. But this of course can happen in third party extension, that’s why I would advise adding an if condition there to not break the view.

Actions #8

Updated by Bernhard Eckl over 1 year ago

Can this condition be implemented in the template for then next patch version?

Actions #9

Updated by Annett Jähnichen 9 months ago

  • Status changed from Needs Feedback to Closed

Hi Bernhard,

if this issue cannot be reproduced in version 11.5, I would like to close the ticket.
Version 10.4 doesn't receive community support anymore.

Actions

Also available in: Atom PDF