Project

General

Profile

Actions

Bug #28745

closed

Problem with $GLOBALS['TSFE']->recordRegister

Added by Markus no-lastname-given almost 13 years ago. Updated over 5 years ago.

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]--;
                }


Related issues 3 (0 open3 closed)

Related to TYPO3 Core - Bug #20541: Problem with $GLOBALS['TSFE']->recordRegisterClosed2009-06-02

Actions
Related to TYPO3 Core - Bug #53768: Displaying the same 'Insert Records'-element more than once does not workClosed2013-11-19

Actions
Has duplicate TYPO3 Core - Bug #35266: Nest count not reset upon exit from render()Closed2012-03-27

Actions
Actions

Also available in: Atom PDF