Bug #102703
openPersisted alias mapper should return item uid instead of languageParentFieldName when site translation fallbackType is set to free
0%
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.
Updated by Thomas Stranz 2 months ago
- Related to Bug #102604: PersistedAliasMapper on translated extbase records wrong added