Skip to content
This repository has been archived by the owner on Jul 5, 2022. It is now read-only.

Params controller plugin refers to admin controller #3

Open
juriansluiman opened this issue Jul 30, 2012 · 0 comments
Open

Params controller plugin refers to admin controller #3

juriansluiman opened this issue Jul 30, 2012 · 0 comments
Labels

Comments

@juriansluiman
Copy link
Member

If the params controller plugin is used in a controller dispatched by the admin module, the controller plugin refers to the admin controller and not the dispatched controller. Therefore the parameters retrieved from this plugin are from the admin controller and not the controller itself.

This must be solved by pre/post listeners to the dispatch event, injecting the controller and resetting it again after the dispatch.

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

No branches or pull requests

1 participant