Issue Bug Closed

#38931t3lib_page::getRecordOverlay Hook issue

Gabriel Kaufmann TYPOworx GmbH | NewMedia 07/13/12, 13:35 updated 03/06/13, 22:09

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.

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.