Project

General

Profile

Actions

Bug #96165

closed

Routing Parameter "ai__f_name" for route "ai_0" must match "[^/~]++" ("" given) to generate a corresponding URL.

Added by Jan Epper almost 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-11-30
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
10
PHP Version:
7.4
Tags:
aimeos, pending-close
Complexity:
Is Regression:
Sprint Focus:

Description

I'm using the Aimeos Shop EXT and the TYPO3 RoutingEnhancer throws an error for one of the routes.

I've asked this in the aimeos forum here: [[https://aimeos.org/help/viewtopic.php?f=16&t=4049]]

The Error Message:
Parameter "ai__f_name" for route "ai_0" must match "[^/~]++" ("" given) to generate a corresponding URL.
#0 /path/to/webroot/public/typo3/sysext/core/Classes/Routing/UrlGenerator.php(55): Symfony\Component\Routing\Generator\UrlGenerator->doGenerate(Array, Array, Array, Array, Array, 'ai_0', 1, Array, Array)

The Error disappears when I remove the following Part of RouteEnhancer.

      -
        routePath: '/b/{b_action}'
        _controller: 'Basket::index'

This should create the route for the Basket and according to the aimeos Team this seems to be an TYPO3 Routing bug.

I'm using:
TYPO3 10.4.21
Aimeos 21.10.2
PHP 7.4
Apache Webserver

PS: My first bug repot, so sorry If I forgot any information.

Actions

Also available in: Atom PDF