#916339.5.19 breaks formerly working routeEnhancer
Description
I have the following routeEnhancer, which worked until 9.5.18:
BookingPlugin:
type: Extbase
limitToPages:
- 123
extension: Events
plugin: Events
routes:
-
routePath: '/{event}/{date}/{booking}'
_controller: 'Booking::new'
_arguments:
event: event
date: date
booking: booking
defaultController: 'Booking::new'
defaults:
booking: ''
aspects:
event:
type: PersistedAliasMapper
tableName: tx_events_domain_model_event
routeFieldName: slug
date:
type: PersistedAliasMapper
tableName: tx_events_domain_model_date
routeFieldName: slug
booking:
type: StaticValueMapper
map:
new: 1
It creates an url like /some-page/some-event/some-date/new/ with following linking:
<f:link.page pageUid="123" additionalParams="{tx_events_events : {event : event, date : date, booking : 1}}">register</f:link.page>
From 9.5.19 this route results in a 404 page not found error, before it was resolving fine. I guess it has to do with https://github.com/TYPO3-CMS/core/commit/d94f2004eb2158cacb4c2e5acb21d73ffdf49858
IMHO we should really stop introducing severe breaking changes (especially sufficient communication about it) in patch level releases of an LTS version. This happened now quite some times recently, espcially in the routing area, always resulting in heavy URL problems and breaking projects.