Project

General

Profile

Actions

Bug #100931

closed

No link generated for record with language 'all languages'

Added by Albert van der Veen over 1 year ago. Updated 5 months ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Site Handling, Site Sets & Routing
Target version:
-
Start date:
2023-05-30
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
11
PHP Version:
8.2
Tags:
Complexity:
medium
Is Regression:
Sprint Focus:
Stabilization Sprint

Description

In function 'build' in sysext/frontend/Classes/Typolink/DatabaseRecordLinkBuilder.php a check is done on the availability of field '_LOCALIZED_UID' in the overlay record. However, in function 'getRecordOverlay' in sysext/core/Classes/Domain/Repository/PageRepository.php the record is untouched and therefore not filled with this field when $row[$tableControl['languageField']] equals -1. This means no links are generated in the frontend for records that are supposed to be for all languages, except for the default langauge. In the code these comments are added:
// Return record for ALL languages untouched
// @todo: Fix call stack to prevent this situation in the first place


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #101718: DatabaseRecordLinkBuilder does not respect language setting for all languages (sys_language_uid = -1)Closed2023-08-21

Actions
Actions

Also available in: Atom PDF