Bug #21116

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

Added by Georg Ringer over 3 years ago. Updated about 3 years ago.

Status:Accepted Start date:2009-09-21
Priority:Should have Due date:
Assignee:Benjamin Mack % Done:

0%

Category:-
Target version:-
TYPO3 Version:4.3 Complexity:
PHP Version:5.2
Votes: 0

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)

Also available in: Atom PDF