« Previous | Next » 

Revision f17a2274

IDf17a2274b512a0b8cbf8810a0b73600cb9736ff9

Added by Bastian Waidelich over 8 years ago

[!!!][BUGFIX] Route defaults have to be specified when creating URIs

Currently when creating URIs one can omit route values that are defined
as defaults of the route.
This is not the intended behavior though, because with a lot of routes
in place this leads to the situation where it gets difficult to target
a certain route.
Thus for a route to match the given route values, one should have to
specify all the routing defaults exactly as they are specified by the
route (except for when a route part appears in the uriPattern).

This is a breaking change if you used Router or UriBuilder to create
URIs without specifying all defaults (see #43589 for details).
Besides, all Fluid ViewHelpers that use the UriBuilder now require the
action argument to be specified.

Change-Id: I7e4e0e20a397839c89a107b28fa176dd62459ec1
Fixes: #43589
Releases: 1.2

  • added
  • modified
  • copied
  • renamed
  • deleted