#19275TypoScript objects CONTENT and RECORDS do not respect localization of table pages
Description
Imagine someone wants to display the localized title of a page in FE by the RECORDS object in TypoScript – example:
temp.pageTitle = RECORDS
temp.pageTitle {
source = pages_123
tables = pages
conf.pages < lib.whatever
}
In tslib_cObj there’s a call to $GLOBALS[‘TSFE’]->sys_page->getRecordOverlay() which won’t work for pages, since pages have an own table for localization stuff – thus getPageOverlay() would be correct for the table ‘pages’ in the RECORDS and CONTENT TS-object…
Further reasons:- pages don’t have [ctrl][languageField]
- missing the check and handling for [ctrl][transForeignTable]
(issue imported from #M9275)
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.