You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 5, 2022. It is now read-only.
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.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
The text was updated successfully, but these errors were encountered: