« Previous | Next » 

Revision 57d734b0

ID57d734b07c6fc77f2ceddcc5faaba74107936e69
Parent 82828c15
Child e867cd66

Added by Bastian Waidelich over 7 years ago

[BUGFIX] Properly merge request- and routing arguments

The "HTTP Components" feature (#52064) introduced a regression that
makes it very difficult to create RESTful services with Flow.
The problem is that the ``matchResults`` from the routing framework
override the arguments of the HTTP request instead of being
merged.

This change moves the merging of request- and routing arguments from
the ``ActionRequest`` to the ``DispatchComponent`` reducing the
complexity of argument merging and fixing the behavior of routing
values overriding the request arguments.

Note: This is a breaking change if you relied on the incorrect
behavior but it's not marked as such because there is no released
version that contains the regression.

Change-Id: Ida582e40c5306d5fa490c949d066e24f6dd63d09
Fixes: FLOW-43
Related: #45293
Related: #52064
Releases: master

  • added
  • modified
  • copied
  • renamed
  • deleted