-
Notifications
You must be signed in to change notification settings - Fork 61
Url View-helper: better exception wording on router->assemble() fail #200
base: master
Are you sure you want to change the base?
Url View-helper: better exception wording on router->assemble() fail #200
Conversation
@MatthiasKuehneEllerhold Thanks for your contribution. |
The zend-router only throws the Cant seem to replicate it locally though. But i dont have 7.1 set up anymore. So the |
This repository has been closed and moved to laminas/laminas-view; a new issue has been opened at laminas/laminas-view#2. |
This repository has been moved to laminas/laminas-view. If you feel that this patch is still relevant, please re-open against that repository, and reference this issue. To re-open, we suggest the following workflow:
|
This PR will change 2 things:
Add a comment to the HelperPluginManager that the "url" and "basePath" View-Helper factories are overwritten in the
ViewHelperManagerFactory
of zend-mvc.Change the exception text of the "url" View-helper if the router cant assemble the URL to include more information:
Before:
After:
Advantages:
Open questions:
composer.json
...