Issue Bug Closed

#102929Wrong extbase backend links build by f:uri.action

Alex Kellner 01/25/24, 12:54 updated 03/01/24, 11:09

Description

Szenario: TYPO3 10.4.37, PHP 7.4

Installed Extension vhs with had this settings in Services.yaml in 7.0.1:

...

  TYPO3\CMS\Extbase\Mvc\Web\Routing\UriBuilder:
    autowire: true
    public: true

Then adding a new backend module in default extbase style with a link in the action template and enclose it with f:be.container like:

<f:be.container>
   <f:uri.action action="index" />
</f:be.container>

Now the URI is build wrong:

# Result
typo3/index.php?route=/module/lux/LuxGeneral&token=abc&tx__[action]=index&tx__[controller]=Default

This would be the expected result:

typo3/index.php?route=/module/lux/LuxGeneral&token=abc&tx_lux_lux_luxgeneral[action]=index&tx_lux_lux_luxgeneral[controller]=Default

So, for whatever reason pluginName and extensionName is missing.

—-

Possible workarrounds for others:

# works
<f:uri.action action="index" controller="General" extensionName="Lux" pluginName="lux_luxgeneral" />

# works
<f:be.link route="lux_LuxGeneral">...</f:be.link>

Reviews 0

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