#102604PersistedAliasMapper on translated extbase records wrong
Description
With a language configuration of fallbackType free, the translated extbase records are not found by the RouteEnhancer PersistedAliasMapper.
The reason for this is that the UID of the extbase record from the default language is used and therefore the wrong slug is used for routing.
As soon as the l10n_parent is removed in the translated extbase record, it works.
I currently have this problem with records from the News Extension.
Reviews 1
Related issues 1
History 611
-
Thomas Stranz changed Related to #102703 <span data-processor="relativetime" data-value="2024-09-17T22:48:20+00:00" > 09/17/24, 22:48 </span>
-
Oliver Pfaff commented and changed TYPO3 Version
1213 <span data-processor="relativetime" data-value="2025-08-25T10:57:18+00:00" > 08/25/25, 10:57 </span>I raise the version, this behavior is the same for TYPO3 13.
I think we have a paradigm problem here. If the language fallback is set to free, the system does not expect any connections between data records and does not check corresponding connections. However, there is the expectation that if data records are setup connected, these are then also taken into account. Here in the listview from News (https://github.com/georgringer/news/issues/2526) and in the PersistedAliasMapper. However, this cannot be expected due to the implementation paradigm and the logic behind that. Free expects independent data records per language, without a connection and therefore without the benefits of this. Such as a languageswitch, possible over PersistedAliasMapper in strict or fallback mode.
An exception would still be nice here, but it undermines the actual clear and logical implementation.
m2c
-
Markus Klein commented and changed TYPO3 Version
1312 <span data-processor="relativetime" data-value="2025-08-25T11:41:19+00:00" > 08/25/25, 11:41 </span>Please keep the version on the version this was reported for. Thanks.
-
Rene Tobias commented and changed TYPO3 Version
1213 PHP Version8.28.3 <span data-processor="relativetime" data-value="2025-11-03T08:45:36+00:00" > 11/03/25, 08:45 </span>We have same problem in v13 :/
-
Markus Klein commented and changed TYPO3 Version
1312 PHP Version8.38.2 <span data-processor="relativetime" data-value="2025-11-03T09:18:48+00:00" > 11/03/25, 09:18 </span>Please keep the version on the version this was reported for. Thanks.
-
Gerrit Code Review pushed patch set 1 for main to change 97567 status
NewUnder Review <span data-processor="relativetime" data-value="2026-11-11T22:20:37+00:00" > 11/11/26, 22:20 </span> -
Gerrit Code Review pushed patch set 2 for main to change 97567 <span data-processor="relativetime" data-value="2026-11-12T19:50:48+00:00" > 11/12/26, 19:50 </span>
-
Gerrit Code Review pushed patch set 3 for main to change 97567 <span data-processor="relativetime" data-value="2026-11-15T14:04:47+00:00" > 11/15/26, 14:04 </span>
-
Gerrit Code Review pushed patch set 4 for main to change 97567 <span data-processor="relativetime" data-value="2026-11-15T14:04:50+00:00" > 11/15/26, 14:04 </span>
-
Gerrit Code Review pushed patch set 5 for main to change 97567 <span data-processor="relativetime" data-value="2026-11-19T17:32:02+00:00" > 11/19/26, 17:32 </span>
Lois Mula Fervenza wrote:
> With a language configuration of fallbackType free, the translated extbase records are not found by the RouteEnhancer PersistedAliasMapper.
> The reason for this is that the UID of the extbase record from the default language is used and therefore the wrong slug is used for routing.
> As soon as the l10n_parent is removed in the translated extbase record, it works.
> I currently have this problem with records from the News Extension.
I can confirm this behavior on TYPO3 12.4.20 with the following site config:
I could solve this for our project by overriding the resolveOverlay function in \TYPO3\CMS\Core\Routing\Aspect\PersistedAliasMapper via XCLASS