Revert "[BUGFIX] Do not reset Page Renderer on partial rendering" 80/29580/3
authorHelmut Hummel <helmut.hummel@typo3.org>
Sun, 20 Apr 2014 10:17:53 +0000 (12:17 +0200)
committerMarkus Klein <klein.t3@mfc-linz.at>
Tue, 22 Apr 2014 19:54:49 +0000 (21:54 +0200)
commit261567319ff51e2a01c41283f0fa8e63e0538a86
tree94b91e52d72aa426507a613790eecd7b68f40370
parent0b772e11f8cf73c59f7e97f17b1e5f24f4d30fce
Revert "[BUGFIX] Do not reset Page Renderer on partial rendering"

The page renderer is not designed to work with
a second rendering pass without resetting to its initial state.

Not resetting will cause double compression of files and
creating wrong version numbered file names.

Reverting this again means: ->addFooter* calls are ignored
when being called before first rendering pass and
only work when done after first rendering pass.

Although this behavior is highly intransparent
it cannot easily be fixed without heavy refactoring
of the page renderer which most likely will break hooks.

Introduced regression by this change: #57919 and #58010

This reverts commit c67e8ebbb074c46dae40bec329db7392e023b0d6

Change-Id: I9e489e49f65bb69e2f3c3b997cc14465d6a08d80
Reviewed-on: https://review.typo3.org/29580
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Markus Klein
Tested-by: Markus Klein
typo3/sysext/core/Classes/Page/PageRenderer.php
typo3/sysext/core/Tests/Functional/Page/PageRendererTest.php