Project

General

Profile

Actions

Bug #42029

closed

Rootline relation overlay does not work for translated pages

Added by Andreas Wolf over 11 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Must have
Assignee:
Category:
Backend API
Target version:
Start date:
2012-10-15
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
6.0
PHP Version:
Tags:
Complexity:
hard
Is Regression:
Sprint Focus:

Description

Overlays for the relation fields of a page in the rootline, introduced with the rootline class refactoring, do not work for translated pages. The problem is that the overlay of data is done too early: RootlineUtility::enrichWithRelationFields() already kicks in long before the sys_language_uid is determined (which happens in index_ts.php:187, while determineId() - which needs the rootline - is called in line 145).

A possible solution would be to have the relation field enrichment done at a later point; that might however break other things.

Additionally, the language overlay done in RootlineUtility::enrichWithRelationFields() is also pointless, as the language is not known at that point.

One point where this becomes visible is when trying to access the media field of a translated page in the rootline with the "levelmedia" data key of stdWrap.


Related issues 2 (0 open2 closed)

Related to TYPO3 Core - Task #39352: Refactor t3lib_pageSelect::getRootlineClosedSteffen Ritter2012-07-28

Actions
Related to TYPO3 Core - Bug #40609: Enable Frontend to deal with translated sys_file_referencesClosedSteffen Ritter2012-09-04

Actions
Actions

Also available in: Atom PDF