Bug #28745
closedProblem with $GLOBALS['TSFE']->recordRegister
100%
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]--; }
Updated by Thorsten Kahler about 13 years ago
- Category changed from Frontend to Content Rendering
- Complexity set to medium
Updated by Thorsten Kahler about 13 years ago
- Status changed from New to Accepted
I can reproduce that recursive re-rendering of the same CE is not possible. E.g.
page = PAGE page.10 < styles.content.get page.10.stdWrap.append < styles.content.get
renders the page content only once. Though rendering CEs twice works, e.g.
page = PAGE page.10 < styles.content.get page.20 < styles.content.get
We have to decide if we want to enable recursive rendering and, if so, how to prevent infinite loops.
Updated by Gerrit Code Review over 10 years ago
- Status changed from Accepted to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/25512
Updated by Gerrit Code Review over 10 years ago
Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/25512
Updated by Gerrit Code Review over 10 years ago
Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/25512
Updated by Gerrit Code Review over 10 years ago
Patch set 4 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/25512
Updated by Gerrit Code Review over 10 years ago
Patch set 5 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/25512
Updated by Gerrit Code Review over 10 years ago
Patch set 6 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/25512
Updated by Markus Klein over 10 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 1b9d3a59f82b290ae16073e1df5f83fa48363db8.
Updated by Gerrit Code Review over 10 years ago
- Status changed from Resolved to Under Review
Patch set 1 for branch TYPO3_6-1 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/27515
Updated by Gerrit Code Review over 10 years ago
Patch set 1 for branch TYPO3_6-0 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/27516
Updated by Gerrit Code Review over 10 years ago
Patch set 2 for branch TYPO3_6-1 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/27515
Updated by Markus Klein over 10 years ago
- Status changed from Under Review to Resolved
Applied in changeset e36633a94245538d99f010b7b94cfc2896c934bc.
Updated by Benni Mack almost 6 years ago
- Status changed from Resolved to Closed