Bug #38931
closedt3lib_page::getRecordOverlay Hook issue
100%
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:
- page is "no_cache"
- any additional GP-Parameter is attached to the Page
- 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.