Project

General

Profile

Actions

Bug #38931

closed

t3lib_page::getRecordOverlay Hook issue

Added by Gabriel Kaufmann / Typoworx NewMedia over 12 years ago. Updated over 11 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2012-07-13
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
4.6
PHP Version:
5.3
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

I am using the t3lib_page::getRecordOverlay Hook in one of my Extensions which aims to provide a localisation bugfix for all Typoscript-Bases DB-Queries (TS: Content, TS: Record).

We have the special case in one of our projects that there must be a language-fallback support. We noticed that this is only working correctly for Pages and tt_content Elements.

Basically our Bugfix released in TER as EXT:tnm_t3libpage_fixlangol is working. But we noticed that the t3lib_page::getRecordOverlay Hook is only triggered while either one of these cases is given:

  1. page is "no_cache"
  2. any additional GP-Parameter is attached to the Page
  3. We render the tt_address Query (our own Typoscript) using COA_INT / USER_INT

It seems like these special conditions given by getRecordOverlay Hook isn't cached with the rest of the page-contents. So always where we have a translation-overlay it is showing the default-language instead of the desired language.

Actions

Also available in: Atom PDF