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 11 months ago.

Status:
New
Priority:
Should have
Assignee:
-
Category:
Site Handling, Site Sets & 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.


Related issues 1 (1 open0 closed)

Related to TYPO3 Core - Bug #102604: PersistedAliasMapper on translated extbase records wrongNew2023-12-05

Actions
Actions #1

Updated by Thomas Stranz 2 months ago

  • Related to Bug #102604: PersistedAliasMapper on translated extbase records wrong added
Actions

Also available in: Atom PDF