Issue Bug Closed

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

Jan Epper 11/30/21, 15:48 updated 11/12/22, 10:08

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.

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.