Actions
Bug #28745
closedProblem with $GLOBALS['TSFE']->recordRegister
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Content Rendering
Target version:
-
Start date:
2011-08-04
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
4.5
PHP Version:
Tags:
Complexity:
medium
Is Regression:
Sprint Focus:
Description
Content that should be rendered twice will not be shown. For a good explanation see #20541.
Although #20541 is closed, I can reproduce the bug with TYPO3 4.5.4.
Quick fix (taken from #20541 and adjusted to new folder structure) is to find the line "$GLOBALS['TSFE']->currentRecord = $originalRec; // Restore" in
/typo3/sysext/cms/tslib/content/class.tslib_content_content.php and
/typo3/sysext/cms/tslib/content/class.tslib_content_records.php
and add the following lines right after that:
if ($originalRec) { $GLOBALS['TSFE']->recordRegister[$originalRec]--; }
Actions