-
-
Notifications
You must be signed in to change notification settings - Fork 106
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
Parent presenter usage ends with "Multiple services of type ... found" #258
Comments
If you request a service and multiple services with same type are found, then error is correct. Parent presenter should either be abstract or you can set |
Method |
It is due to cb35435 |
I've updated to nette/application 3.0.5 and its working as expected. |
Version: 3.0.4
Bug Description
When presenter class is inherited to another presenter, then parent presenter usage ends with error "Multiple services of type ... found"
Steps To Reproduce
Create presenter with name
ParentPresenter
and another presenterChildPresenter
inheriting fromParentPresenter
.Add presenters to composer classmap and dump optimized class loader.
Try access
ParentPresenter
andBadRequestException
is thrown with message "Multiple services of type ..."Expected Behavior
I expect
ParentPresenter
to be run as was in version 2.4.The text was updated successfully, but these errors were encountered: