How do you debug routing when $presenter->link generates unexpected result?
Notice: This thread is very old.
- petr.pavel
- Member | 535
Debug bar with all routes and “yes/may” is great (although could be better) but what if I need the other direction? PresenterRequest to url, rather than url to PresenterRequest. So far I've been debugging RouteList and Route but it's very time consuming.
My application has modules, subdomains and heavily customized URLs, and it's hard to get things right.
Any suggestions?
- petr.pavel
- Member | 535
I'd like to bump this question as I'm facing the same problem again. Debugging Route->constructUrl() is painful. How do you guys do it that you don't need any debug panel?
It would be great if Route->constructUrl() could report reasons for failing.