Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[NFR][1.3.0] Multimodule dispatching problem #1658

Closed
lantian opened this issue Dec 9, 2013 · 3 comments
Closed

[NFR][1.3.0] Multimodule dispatching problem #1658

lantian opened this issue Dec 9, 2013 · 3 comments

Comments

@lantian
Copy link
Contributor

lantian commented Dec 9, 2013

When I use in module 'Pesite':

$this->dispatcher->forward(
    [
        'module'     => 'Core',
        'namespace'  => 'Core\Controller',
        'controller' => 'Error',
        'action'     => 'show404'
    ]
);

I've an error:

[ERROR] View not found - ".../app/modules/Pesite/View/Error/show404.volt"

It's tries to pick view from current module...

@dreamsxin
Copy link
Contributor

Dispatchers are unique per module. Forwarding between modules is not allowed.
The moudle option is not support.

@lantian
Copy link
Contributor Author

lantian commented Dec 11, 2013

So, i will change it to NFR.

@sergeyklay
Copy link
Contributor

Implemented in #12857

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants