Url View-helper: better exception wording on router->assemble() fail#200
Url View-helper: better exception wording on router->assemble() fail#200MatthiasKuehneEllerhold wants to merge 5 commits intozendframework:masterfrom MatthiasKuehneEllerhold:url-helper-verbose-exceptions
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
ViewHelperManagerFactoryof 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...