Bug #21116
"Simulate backend user" shown even if no user is there to simulate
| 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)