Actions
Bug #87782
closedPage type is not added to query string parameters
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Site Handling, Site Sets & Routing
Target version:
-
Start date:
2019-02-25
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
9
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:
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.
Actions