#87782Page type is not added to query string parameters
Description
If the page type decorator is at least once, unmapped page types silently get truncated and produce faulty URLs. While I understand the purpose of this, I think someone should be able to disable this behavior, e.g. by setting default: null.
Additionally, page types can’t be re-mapped in an URL (e.g. where the page type must be at the beginning of the route), any other argument doesn’t get replaced.
Example:
routeEnhancers:
MyIdentifier:
type: Simple
routePath: '/{page_type}/{uuid}'
_arguments:
page_type: 'type'
uuid: 'uuid'
With that configuration, page_type is replaced (and processed), but uuid is not replaced and the value gets attached as a GET argument.
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.