symfony-cmf / Routing

Routing component building on the Symfony Routing component
Other
288 stars 69 forks source link

[Routing] Use correct exception message in ChainRouter::match() #110

Closed timplunkett closed 10 years ago

timplunkett commented 10 years ago
Q A
Bug fix? yes
New feature? no
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets n/a
License MIT
Doc PR n/a

Allow ChainRouter::match() to use the correct exception message when a RequestMatcherInterface router is used.

Currently, even if doMatch() is called via match(), as long as the router cares for a request, it will create one and the exception handling will not use the path-specific message, it will use the request-based message.

lsmith77 commented 10 years ago

thx! fix will be in the 1.3.0-RC2 release expected sometime this week