Project

General

Profile

Actions

Bug #21116

closed

"Simulate backend user" shown even if no user is there to simulate

Added by Georg Ringer over 14 years ago. Updated over 10 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2009-09-21
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.3
PHP Version:
5.2
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

The label "Simulate backend user" is shown, even if there is no user there to simulate because there is only 1 admin user in the database.

IMO there is no easy way to solve it because the fields are loaded by using
'simulate' => array(
'type' => 'select',
'itemsProcFunc' => 'SC_mod_user_setup_index->renderSimulateUserSelect',
'access' => 'admin',
'label' => 'LLL:EXT:setup/mod/locallang.xml:simulate',
'csh' => 'simuser'
),

in sysext/setup/ext_tables.php and there is no way to detect if the select is rendered or not. In the called function there is a check which avoids rendering an empty select field but this is not helping with the label

(issue imported from #M12030)

Actions

Also available in: Atom PDF