#93727Extbase Routing Enhancer with several routes doesn't work when routes use different controller
Description
When you have several routes configured (like the default EXT:news config ) and all routes have the same controller set – everything is fine.
But if Georg would add something like
- routePath: '/'
_controller: 'News::list'
# ...
- routePath: '/archive'
_controller: 'NewsArchive::list'
The “/archive” url will never appear, because of different controller set (compared with defaultController: 'News::list' configuration).
I was able to follow the bug, till \TYPO3\CMS\Extbase\Routing\ExtbasePluginEnhancer::verifyRequiredParameters.
As workaround, I’ve created a showArchiveAction in NewsController, which just redirects to NewsArchiveController::list and pointed my f:link.action ViewHelpers to this new action.
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.