is it Bug ?

i write a module

the url show below Work :

url : index.php?r=user/login&result=done

but when i set uelManager to Path format the url below doesn`t work and throw error action ?

url in Path format : index.php/user/login/result/done

just i use a url like index.php/user/password/recovery/result/done, it works good !

it`s Bug or i have a Error

Depends on your config.

Please give us the full UrlManager config, tell us how your modules controllers and actions are named.

What rules are defined for UrlManager?

UrlManager config :




'urlManager'=>array(

		            'urlFormat'=>'path',

		    ),



my module name is :

UserModule

for PasswordController i have two Actions :

Recovery and Change

when user request for password recovery i send email and then redirect to a page for showing message, i create url by using CreateUrl method :




$this->redirect($this->createUrl('user/password/recovery',array('result'=>'done')));



For Registeration work well done !

But

in a login page when user login and i want show a message ,it throw a error that Result Action not found

i using this url for login page:




$this->redirect($this->createUrl('user/login',array('result'=>'done')));



i should say in LoginController i changed $defaultAction to login action and action index not work here ?

in password recovery page default action is Index