[TYPO3-core] RFC #9058: Hook objects for stdWrap in class.tslib_content.php get executed multiple times.
Steffen Müller
typo3 at t3node.com
Mon Nov 23 10:19:46 CET 2009
REMINDER 1
On 18.11.2009 17:59 Steffen Müller wrote:
> Hi,
>
> this is a SVN patch request.
>
> Type: Bugfix
>
> Bugtracker references: http://bugs.typo3.org/view.php?id=9058
>
> Branches: Trunk
>
> Problem:
> Hook objects for stdWrap in class.tslib_content.php get executed
> multiple times.
> When there is a single content element on the page, it works fine. But
> when there 2 CEs, the stdWrap hooks get executed twice. With 3 CEs, its
> executed 3 times and so on.
> The reason is that the hook object container is never cleaned.
>
> Solution:
> $this->stdWrapHookObjects contains the hook objects for stdWrap.
> Reset this property in start() function which serves as the constructor
> of the class tslib_cObj.
>
> Steps to reproduce:
> For testing purpose, install the demo extension which can be found in
> the bugtracker.
> Then add some content elements of type TEXT to a page and view the page.
>
--
cheers,
Steffen
TYPO3 Blog: http://www.t3node.com/
Blubber on Twitter: http://twitter.com/t3node
More information about the TYPO3-team-core
mailing list