Project

General

Profile

Actions

Bug #93727

closed

Extbase Routing Enhancer with several routes doesn't work when routes use different controller

Added by Armin Vieweg over 3 years ago. Updated about 2 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Site Handling, Site Sets & Routing
Target version:
-
Start date:
2021-03-12
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
10
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:
On Location Sprint

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.


Related issues 1 (1 open0 closed)

Is duplicate of TYPO3 Core - Bug #95766: Routing across extensionsUnder ReviewOliver Hader2021-10-25

Actions
Actions

Also available in: Atom PDF