But if you call ‘admin/login’ (or another action of the DefaultController) the module of the DefaultController will not be loaded / initialized.
You have to change the constructor of the DefaultController like this:
class DefaultController extends CController {
/**
* Have to assign the module in __construct
* if loaded directly from controllerMap
*
* @param string $id
* @param string $module
*/
public function __construct($id, $module = null)
{
if (!isset($module))
$module = Yii::app()->getModule('admin');
parent::__construct($id, $module);
}