Bug #30542

Static Route Parts are not reset

Added by Bastian Waidelich about 10 years ago. Updated about 10 years ago.

Status:
Resolved
Priority:
Must have
Category:
MVC - Routing
Start date:
2011-10-04
Due date:
% Done:

100%

Estimated time:
PHP Version:
Has patch:
Complexity:

Description

StaticRoutePart::resolve() sets the value to the route parts name (= the corresponding URI part).
RoutePart::match() merges the route parts value into the resulting request arguments. The value of the route part must be reset to NULL before the route parth is processed.
The StaticRoutePart currently fails to do so. Usually this has no effect because match() is always called before resolve() but it fails when using FLOW3 with an app server like AiP.

Also available in: Atom PDF