Project

General

Profile

Actions

Bug #102703

open

Persisted alias mapper should return item uid instead of languageParentFieldName when site translation fallbackType is set to free

Added by Luc Muller 5 months ago.

Status:
New
Priority:
Should have
Assignee:
-
Category:
Link Handling, Site Handling & Routing
Target version:
-
Start date:
2023-12-20
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
11
PHP Version:
7.4
Tags:
Complexity:
medium
Is Regression:
No
Sprint Focus:

Description

When using a persisted alias mapper eg on news extension
The persisted alias mapper return the uid of the news in the default language instead of the news in the demanded language. but the fallback type is set to ignore superposition.

this stands in the resolve function which does not check the fallbacktype of the website when returning the uid of the record

Step to reproduce :
- Install an extension that provides custom records eg news.
- Set a website with 2 languages
- Set fallback type to free for a language
- Create 1 news in the first language
- Translate this news to the other language
- Hide the news in the first langue
- display the list of news in the second language
- news in the second language est displayed as the fallbacktype is free, news item is requested in the requested language
- click the link of the news
- news returns an error News is not available anymore (or any other news not found handler) but the news should obviously be displayed

had this anomaly in TYPO3 11 but TYPO3 12 seems impacted to as the code seems to be the same.

No data to display

Actions

Also available in: Atom PDF