Issue Bug Closed

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

Georg Ringer 09/21/09, 17:07 updated 01/20/14, 12:40

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)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.