Issue Bug Closed

#24273help_aboutmoules hardcoded as start up module - returns error if uninstalled

Soren Malling 12/02/10, 13:24 updated 03/29/11, 23:45

Description

With great features comes great responsibility ;)

As we are now able to uninstal former hardcodede extensions, some issues are shown.

If you uninstall the “aboutmodules” extension and haven’t changed your “start up” module, the following error will be shown in the javacsript console/debug console

[string] help_aboutmodules was not found in modules

which is correct. The reason for this issue is at line 119 in t3lib/class.t3lib_beuserauth.php

var $uc_default = Array(
‘interfaceSetup’ => ‘’, // serialized content that is used to store interface pane and menu positions. Set by the logout.php-script
‘moduleData’ => Array(), // user-data for the modules
‘thumbnailsByDefault’ => 0,
‘emailMeAtLogin’ => 0,
‘condensedMode’ => 0,
‘noMenuMode’ => 0,
‘startModule’ => ‘help_aboutmodules’, <——— HERE

The “aboutmodules” is hardcoded as startup module and only changed, if you as a user changes the settings.

What should be done here? Is it a administrator responsibility to change the default module for created users if he/she uninstall the default startup module?

(issue imported from #M16646)

Reviews 0

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