Actions
Bug #91246
closedrouteEnhancer defaults not applied in TYPO3 v9.5.16
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Link Handling, Site Handling & Routing
Target version:
Start date:
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
9
PHP Version:
Tags:
Complexity:
Is Regression:
Yes
Sprint Focus:
Description
The defaults as defined in routeEnhancer are no longer applied in TYPO3 v9.5.16
With a configuration of:
RoiDetail: type: Plugin limitToPages: - 123 - 234 routePath: '/{uid}/{title}/{detailType}' defaults: detailType: 'details' requirements: uid: '[0-9]{1,5}' title: '[a-zA-Z0-9\-]*' detailType: '^details|gpx|kml$' namespace: tx_extension_pi_roi_detail aspects: uid: type: MyUidMapper detailType: type: StaticValueMapper map: details: 'details' kml: 'kml' gpx: 'gpx'
a TYPO3 <= v9.5.15 installation creates URLs like
https://example.org/roi-details/1234/roi-title/details
(appending the default "details" as "/details" if not defined during link creation) and allowing to access
https://example.org/roi-details/1234/roi-title/gpx
a TYPO3 v9.5.16 installation creates URLs like
https://example.org/roi-details/1234/roi-title
(omitting the default "details" if not defined during link creation) and leads to 404 on accessing
https://example.org/roi-details/1234/roi-title/details
as well as
https://example.org/roi-details/1234/roi-title/gpx
Actions