Is a bug in Yii-1.1.16?

I have two modules, one is approval, the other is oa. In oa module, has a approval sub module.

With Yii-1.1.15, I can visit ?r=approval and ?r=oa/approval correctly.

But with Yii-1.1.16, I can not visit ?r=oa/approval correctly, it displays content with approval module.

In OaModule.php, sub module setting with such code, with Yii-1.1.16, visit ?r=oa/approval correctly.

code:


$this->setModules(array(

	'approval' => array(

		'class' => 'oa.modules.approval.ApprovalModule',

	),

));

but can not use any method in other file in approval module in oa module.

1 Like