Bug #24338
closedTS object RECORDS with sys_language > 0 doesn't work
0%
Description
RECORDS seem to only work for default languages, anything with a sys_language bigger then 0 doesn't seem to work.
tested with code:
10 = RECORDS
10 {
source = 2649
tables = tt_news
conf.tt_news = TEXT
conf.tt_news.field = title
}
(issue imported from #M16742)
Updated by Björn Pedersen almost 14 years ago
Related to http://bugs.typo3.org/view.php?id=14042 ??
Updated by Georg Ringer almost 14 years ago
not related to #22406 as this is about CONTENT / select.
IMO records never supported multilingual tables as it fetches the records by uid and does no overlay?
Updated by Jo Hasenau almost 14 years ago
Actually it does support overlays but therefor it needs a certains setup:
if (is_array($row) && $GLOBALS['TSFE']->sys_language_contentOL) {
$row = $GLOBALS['TSFE']->sys_page->getRecordOverlay(
$val['table'],
$row,
$GLOBALS['TSFE']->sys_language_content,
$GLOBALS['TSFE']->sys_language_contentOL
);
}
So without sys_language_contentOL there will be no change in $row.
The parameter to set this value is config.sys_language_overlay.
Updated by Jo Hasenau almost 14 years ago
Any news about this one?
Is the "bug" fixed when config.sys_language_overlay is set?
Updated by Rutger Rek almost 14 years ago
Ringer is right. the bug goes away when I set config.sys_language_uid = 1 right above the code, (thanx a lot! btw. ) So I don't think it's a bug but has probably something to do with our setup whereby he config.sys_language_uid is set in a global var.
You can close this one ...
Updated by Alexander Opitz almost 11 years ago
- Category deleted (
Communication) - Status changed from New to Closed
- Target version deleted (
0) - Is Regression set to No